import { PureComponent } from 'react'; import { ViewStyle, ImageStyle } from 'react-native'; import { stnr } from '../../interface'; export interface CheckBoxProps { normalColor?: string; checkedColor?: string; disableColor?: string; isGroup?: boolean; model?: Array; defaultChecked?: boolean; value?: stnr | null | undefined; label: stnr; min?: number | null | undefined; max?: number | null | undefined; disabled?: boolean; align?: string; border?: boolean; style?: ViewStyle | null | undefined; labelStyle?: ViewStyle | null | undefined; iconStyle?: ImageStyle | null | undefined; iconUrl?: string | null | undefined; iconCheckedUrl?: string | null | undefined; onChange?: (item: object) => void; onGroupChange?: (item: object) => void; } interface CheckBoxStates { normalColor: string; checkedColor: string; disableColor: string; disabled: boolean; checked: boolean; value: stnr; chooseItems: Array; } export default class CheckBox extends PureComponent { static Group: any; constructor(props: CheckBoxProps); componentDidMount(): void; componentDidUpdate(): void; updateGroupChecked: () => void; checkMinOrMax: () => void; setChecked: () => void; renderLabel: () => JSX.Element | null; renderIcon: () => JSX.Element; render(): JSX.Element; } export {};