UNPKG

antd-mobile-rn

Version:

基于蚂蚁金服移动设计规范的 React Native 组件库

22 lines (21 loc) 772 B
import React from 'react'; import { ImageStyle, StyleProp } from 'react-native'; import { CheckboxPropsType } from './PropsType'; import { ICheckboxStyle } from './style/index.native'; export interface ICheckboxNativeProps extends CheckboxPropsType { styles?: ICheckboxStyle; style?: StyleProp<ImageStyle>; } export default class Checkbox extends React.Component<ICheckboxNativeProps, any> { static CheckboxItem: any; static AgreeItem: any; static defaultProps: { styles: { [x: string]: import("react-native").RegisteredStyle<any>; }; }; constructor(props: CheckboxPropsType, context: any); componentWillReceiveProps(nextProps: CheckboxPropsType): void; handleClick: () => void; render(): JSX.Element; }