@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
15 lines (14 loc) • 571 B
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import { RefCheckboxProps } from '../checkbox/Checkbox';
import { CheckboxStyle } from '../checkbox/style';
import { WithThemeStyles } from '../style';
import { RadioItemPropsType } from './PropsType';
export interface RadioItemProps extends RadioItemPropsType, WithThemeStyles<CheckboxStyle> {
style?: StyleProp<ViewStyle>;
}
export default class RadioItem extends React.Component<RadioItemProps> {
radio: RefCheckboxProps;
handleClick: () => void;
render(): JSX.Element;
}