mirror of
https://github.com/hanzoai/agency.git
synced 2026-11-02 19:13:28 +00:00
11 lines
367 B
Plaintext
11 lines
367 B
Plaintext
/** Square 16px checkbox; checked state is a white fill with a black tick. */
|
|
export interface CheckboxProps {
|
|
checked?: boolean;
|
|
defaultChecked?: boolean;
|
|
onChange?: (checked: boolean) => void;
|
|
disabled?: boolean;
|
|
/** Optional inline label rendered to the right. */
|
|
label?: React.ReactNode;
|
|
}
|
|
export function Checkbox(props: CheckboxProps): JSX.Element;
|