Download netflix-clone-using-react/src/components/feature/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 473 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/netflix-clone-using-react/src/components/feature/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/netflix-clone-using-react/src/components/feature/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/netflix-clone-using-react/src/components/feature/index.js
473 Bytes
| import React from "react"; | |
| import { Container, Title, SubTitle } from './styles/feature'; | |
| export default function Feature({ children, ...restProps }) { | |
| return <Container { ...restProps}>{children}</Container> | |
| } | |
| Feature.Title = function FeatureTitle({children, ...restProps }) { | |
| return <Title {...restProps}>{children}</Title> | |
| }; | |
| Feature.SubTitle = function FeatureSubTitle({children, ...restProps }) { | |
| return <SubTitle {...restProps}>{children}</SubTitle> | |
| }; |