UNPKG

@krowdy-ui/views

Version:

React components that implement Google's Material Design.

26 lines (23 loc) 504 B
interface SubOption { key: string; label: string; checked: boolean; } interface Option { key: string; label: string; checked: boolean; subOptions: SubOption[]; } type IFuncOnChange = (newOptions: Option[]) => void interface Classes { containerPaper: string; } export type MultiCheckBoxProps = { classes?: Classes; label?: string; options: Option[]; onChange?: IFuncOnChange; }; declare const MultiCheckBox: React.ComponentType<MultiCheckBoxProps>; export default MultiCheckBox;