es-grid-template
Version:
es-grid-template
14 lines (13 loc) • 329 B
TypeScript
/// <reference types="react" />
type OptionType = {
value: any;
label: string;
[key: string]: any;
};
type Props<T> = {
options: T[];
value: any[];
onChange?: (value: any[]) => void;
};
declare const CheckboxControl: <T extends OptionType>(props: Props<T>) => JSX.Element;
export default CheckboxControl;