UNPKG

conduction-components

Version:

React (Gatsby) components used within the Conduction Skeleton Application (and its implementations)

4 lines (3 loc) 317 B
import { jsx as _jsx } from "react/jsx-runtime"; import { FormControlLabel } from "@gemeente-denhaag/components-react"; export const InputCheckbox = ({ name, validation, register, label, }) => _jsx(FormControlLabel, { input: _jsx("input", { type: "checkbox", ...register(name, { ...validation }) }), ...{ label } });