13 lines
266 B
TypeScript
13 lines
266 B
TypeScript
export interface CheckboxOption {
|
|
id: string;
|
|
label: string;
|
|
}
|
|
|
|
export interface CheckboxWithLabelProps {
|
|
label?: string;
|
|
options: CheckboxOption[];
|
|
selectedValues: string[];
|
|
onValueChange: (selectedValues: string[]) => void;
|
|
singleSelect?: boolean;
|
|
}
|