Data Display
CodeBlock
Syntax-highlighted code display with copy button.
Data Display
Syntax-highlighted code display with copy button.
1import { DDCheckbox } from "@/components/dd";23export function TaskItem() {4 const [done, setDone] = useState(false);5 return <DDCheckbox checked={done} onChange={setDone} />;6}