UNPKG

antd-mobile-taro-ui

Version:

以antd-mobile为设计标准,基于taro框架的微信小程序组件库

15 lines (14 loc) 519 B
import React, { FC } from 'react'; import { NativeProps } from 'antd-mobile/es/utils/native-props'; export declare type RadioValue = string | number; export declare type RadioProps = { checked?: boolean; defaultChecked?: boolean; disabled?: boolean; onChange?: (checked: boolean) => void; value?: RadioValue; block?: boolean; id?: string; icon?: (checked: boolean) => React.ReactNode; } & NativeProps<'--icon-size' | '--font-size' | '--gap'>; export declare const Radio: FC<RadioProps>;