Files
LCUI/docs/examples/checkbox-basic-tsx/example.tsx
T

11 lines
268 B
TypeScript

import { Checkbox } from "@lcui/react";
import { Label } from "@lcui/react";
export default function App() {
return (
<Widget className="flex gap-2">
<Checkbox id="terms" />
<Label for="terms">Accept terms and conditions</Label>
</Widget>
);
}