UNPKG

antd-mobile

Version:

基于 React 的移动设计规范实现

35 lines (34 loc) 959 B
/// <reference types="react" /> import React from 'react'; import { CheckboxItemProps } from './PropsType'; export default class CheckboxItem extends React.Component<CheckboxItemProps, any> { static defaultProps: { styles: { wrapper: { flexDirection: string; alignItems: string; }; icon: { width: number; height: number; }; iconRight: { marginLeft: number; }; agreeItem: { flexDirection: string; alignItems: string; }; agreeItemCheckbox: { marginLeft: number; marginRight: number; }; checkboxItemCheckbox: { marginRight: number; alignSelf: string; }; }; }; handleClick: () => void; render(): JSX.Element; }