Search

Search

Source:
Properties:
Name Type Description
state Object

Object containing Redux mapped props.

Properties
Name Type Description
tvShow Object

Object containing information about matching TV Show.

Search page to search for shows and display matching show's information.

Methods

(static) Results()

Source:
Properties:
Name Type Description
matches Array

Array of TV shows that match search query.

setResults function

Function to reset the results or update with new matches.

setTvShowAll function

Function to update all TV show details in the Redux store.

  • Results page to display matching search results.

(static) Selection()

Source:
Properties:
Name Type Description
setSeason function

Function to update the selected season in the Redux store.

state Object

Object containing Redux mapped props.

Properties
Name Type Description
tvShow.episodes Array.<Object>

Array of objects for episodes from matching TV show.

tvShow.season number

Number which represents selected season

tvShowData Object

Object containing detailed information about matching TV show.

  • Selection page to show selected matching TV show data.