Download tabler-react/src/forms/FormCheckboxInput.react.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 413 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/forms/FormCheckboxInput.react.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/forms/FormCheckboxInput.react.js
-
curl -L -o FormCheckboxInput.react.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/tabler-react/src/forms/FormCheckboxInput.react.js
413 Bytes
| // @flow | |
| import * as React from "react"; | |
| import Form from "../components/Form"; | |
| import type { Props as FormCheckboxProps } from "../components/Form/FormCheckbox.react"; | |
| function FormCheckboxInput(props: FormCheckboxProps) { | |
| const formCheckboxComponent = React.createElement(Form.Checkbox, props); | |
| return <Form.Group>{formCheckboxComponent}</Form.Group>; | |
| } | |
| export default FormCheckboxInput; | |