import { FunctionComponent, ReactNode } from 'react' import { ITouchEvent, ViewProps } from '@tarojs/components' export interface RadioProps extends ViewProps { name?: string value?: any disabled?: boolean checkedColor?: string labelPosition?: string labelDisabled?: boolean shape?: 'round' | 'square' iconSize?: number | string children?: ReactNode renderIcon?: ReactNode onChange?: (event: ITouchEvent) => any } export interface RadioGroupProps extends ViewProps { value?: any direction?: 'vertical' | 'horizontal' disabled?: boolean children?: ReactNode onChange?: (event: ITouchEvent) => any } declare const RadioGroup: FunctionComponent declare const Radio: FunctionComponent export { Radio, RadioGroup }