Download next.js/test/integration/babel/pages/index.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 278 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/babel/pages/index.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/integration/babel/pages/index.js
-
curl -L -o index.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/integration/babel/pages/index.js
278 Bytes
| // @flow | |
| // This page is written in flowtype to test Babel's functionality | |
| import { React } from '../test/namespace-exported-react' | |
| type Props = {} | |
| export default class MyComponent extends React.Component<Props> { | |
| render() { | |
| return <div id="text">Test Babel</div> | |
| } | |
| } | |