UNPKG

vantui-edit

Version:

一套适用于Taro3及React的vantui组件库

31 lines (25 loc) 776 B
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<RadioGroupProps> declare const Radio: FunctionComponent<RadioProps> export { Radio, RadioGroup }