Download tabler-react/src/components/Grid/Grid.react.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Grid/Grid.react.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Grid/Grid.react.js
-
curl -L -o Grid.react.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/components/Grid/Grid.react.js
345 Bytes
| // @flow | |
| import * as React from "react"; | |
| import GridRow from "./GridRow.react"; | |
| import GridCol from "./GridCol.react"; | |
| type Props = {| | |
| +children: React.Node, | |
| |}; | |
| function Grid(props: Props): React.Node { | |
| return props.children; | |
| } | |
| Grid.Row = GridRow; | |
| Grid.Col = GridCol; | |
| Grid.displayName = "Grid"; | |
| /** @component */ | |
| export default Grid; | |