import { IBaseForm } from '../baseForm' import { paramsInterfaceValidKey, ObjectInterface } from '../../../script/index' export interface CheckboxInterface extends IBaseForm { allElection?: boolean border?: boolean allElectionText?: string inline?: boolean checkbox: Function } export class CheckboxConfig { allElection = false border = false allElectionText = '' inline = false size = '' disabled = () => false checkbox = (): ObjectInterface[] => [] methods = (): void => {} constructor (params: CheckboxInterface) { paramsInterfaceValidKey(this, params) } }