Download react-boilerplate/internals/templates/containers/HomePage/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 324 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/templates/containers/HomePage/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/react-boilerplate/internals/templates/containers/HomePage/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/react-boilerplate/internals/templates/containers/HomePage/index.js
324 Bytes
| /* | |
| * HomePage | |
| * | |
| * This is the first thing users see of our App, at the '/' route | |
| * | |
| */ | |
| import React from 'react'; | |
| import { FormattedMessage } from 'react-intl'; | |
| import messages from './messages'; | |
| export default function HomePage() { | |
| return ( | |
| <h1> | |
| <FormattedMessage {...messages.header} /> | |
| </h1> | |
| ); | |
| } | |