import { CSSProperties, FunctionComponent } from "rax"; import "./index.css"; export interface CheckBoxProps { /** * selected state */ checked: boolean; checkedImage: string; /** * unselected picture */ uncheckedImage: string; /** * select box container style */ containerStyle: CSSProperties; /** * select box picture style */ checkboxStyle: CSSProperties; /** * change event * @param checked checked */ onChange: (checked?: boolean) => void; } declare const CheckBox: FunctionComponent; export default CheckBox;