@ant-design/react-native
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
17 lines (16 loc) • 661 B
TypeScript
import React from 'react';
import { StyleProp, TextStyle } from 'react-native';
import { WithThemeStyles } from '../style';
import { CheckboxPropsType } from './PropsType';
import { CheckboxStyle } from './style/index';
export interface CheckboxProps extends CheckboxPropsType, WithThemeStyles<CheckboxStyle> {
style?: StyleProp<TextStyle>;
}
export default class Checkbox extends React.Component<CheckboxProps, any> {
static CheckboxItem: any;
static AgreeItem: any;
constructor(props: CheckboxProps, context: any);
UNSAFE_componentWillReceiveProps(nextProps: CheckboxProps): void;
handleClick: () => void;
render(): JSX.Element;
}