import FormAbstract, { FormAbstractProps } from './FormAbstract'; import ActionAbstract from '../../action/ActionAbstract'; import { StyleType } from '../../common/types'; export type CheckBoxList = FormAbstractProps & { disabled?: boolean; key?: string; name?: string; selected: boolean; iconSize?: number; styleContent?: StyleType; styleIconContent?: StyleType; }; export type CheckBoxProps = FormAbstractProps & { action?: ActionAbstract; list: CheckBoxList[]; }; export default class CheckBox extends FormAbstract { action?: ActionAbstract; list: CheckBoxList[]; constructor(props: CheckBoxProps); }