@makeen.io/material-ui-kit
Version:
Makeen UI components kit. Based on material-ui.
14 lines (13 loc) • 500 B
TypeScript
import React from "react";
declare type CheckboxProps = {
disabled?: boolean;
mode?: string;
onAddOption?: (e: React.MouseEvent<HTMLDivElement>) => void;
onChange: Function;
onOptionLabelUpdate?: Function;
onRemoveOption?: Function;
onReorderOption?: Function;
options: any[];
};
declare const Checkbox: ({ options, onChange, mode, onOptionLabelUpdate, onRemoveOption, onReorderOption, onAddOption, disabled, }: CheckboxProps) => JSX.Element;
export default Checkbox;