react-code-dataset / Netflix-Clone /src /Components /CollectionOverview /CollectionOverviewTVShows.js
Download Netflix-Clone/src/Components/CollectionOverview/CollectionOverviewTVShows.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 594 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionOverview/CollectionOverviewTVShows.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionOverview/CollectionOverviewTVShows.js
-
curl -L -o CollectionOverviewTVShows.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/f5071caa249115f3b590492f1c8eb471e02aae4b/Netflix-Clone/src/Components/CollectionOverview/CollectionOverviewTVShows.js
594 Bytes
| import { connect } from "react-redux"; | |
| import { createStructuredSelector } from "reselect"; | |
| import { compose } from "redux"; | |
| import { selectIsTVFetching } from "../../Redux/TVShow/tv-selectors"; | |
| import WithSpinnerTVShows from "../WithSpinner/WithSpinnerTVShows"; | |
| import CollectionOverview from "./CollectionOverview"; | |
| const mapStateToProps = createStructuredSelector({ | |
| isTVOverviewLoading: selectIsTVFetching | |
| }); | |
| const CollectionOverviewTVShows = compose( | |
| connect(mapStateToProps), | |
| WithSpinnerTVShows | |
| )(CollectionOverview); | |
| export default CollectionOverviewTVShows; |