antd-mobile-rn
Version:
基于蚂蚁金服移动设计规范的 React Native 组件库
19 lines (18 loc) • 664 B
TypeScript
import React from 'react';
import { ImageStyle, StyleProp, ViewStyle } from 'react-native';
import { CheckboxItemPropsType } from './PropsType';
import { ICheckboxStyle } from './style/index.native';
export interface ICheckboxItemNativeProps extends CheckboxItemPropsType {
styles?: ICheckboxStyle;
checkboxStyle?: StyleProp<ImageStyle>;
style?: StyleProp<ViewStyle>;
}
export default class CheckboxItem extends React.Component<ICheckboxItemNativeProps, any> {
static defaultProps: {
styles: {
[x: string]: import("react-native").RegisteredStyle<any>;
};
};
handleClick: () => void;
render(): JSX.Element;
}