Files
LCUI/docs/examples/checkbox-basic-tsx/example.tsx
T
2026-10-18 15:42:26 +08:00

12 lines
269 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>
);
}