@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
14 lines (13 loc) • 587 B
TypeScript
import * as React from 'react';
import { AccessibilityProps, StyleProp, ViewStyle } from 'react-native';
import { WithThemeStyles } from '../style';
import { CheckboxPropsType } from './PropsType';
import { CheckboxStyle } from './style/index';
export interface CheckboxProps extends CheckboxPropsType, WithThemeStyles<CheckboxStyle>, AccessibilityProps {
style?: StyleProp<ViewStyle>;
}
export interface RefCheckboxProps {
onPress: () => void;
}
declare const AntmCheckbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<any>>;
export default AntmCheckbox;