import { PureComponent } from 'react'; import { ViewStyle } from 'react-native'; import { stnr } from '../../interface'; export interface RadioProps { normalColor?: string; checkedColor?: string; disableColor?: string; disableColor2?: string; isGroup?: boolean; model?: stnr | null | undefined; allowCancel?: boolean; defaultChecked?: boolean; value?: stnr | null | undefined; label: stnr; disabled?: boolean; align?: string; border?: boolean; style?: ViewStyle | null | undefined; labelStyle?: ViewStyle | null | undefined; iconStyle?: ViewStyle | null | undefined; iconUrl?: string | null | undefined; iconCheckedUrl?: string | null | undefined; onChange?: (item: object) => void; onGroupChange?: (item: object) => void; } interface RadioStates { normalColor: string; checkedColor: string; disableColor: string; disableColor2: string; checked: boolean; value: stnr; } export default class Radio extends PureComponent { static Group: any; constructor(props: RadioProps); componentDidUpdate(): void; updateGroupChecked: () => void; setChecked: () => void; renderLabel: () => JSX.Element | null; renderIcon: () => JSX.Element; render(): JSX.Element; } export {};