Files
twenty_crm/packages/twenty-docs/src/ui/input/components/checkboxCode.js
2023-12-10 18:10:54 +01:00

16 lines
387 B
JavaScript

import { Checkbox } from "@/ui/input/components/Checkbox";
export const MyComponent = () => {
return (
<Checkbox
checked={true}
indeterminate={false}
onChange={() => console.log("onChange function fired")}
onCheckedChange={() => console.log("onCheckedChange function fired")}
variant="primary"
size="small"
shape="squared"
/>
);
};