import * as React from 'react'; import * as PropTypes from 'prop-types'; import { CheckboxProps, CheckboxItemPropsType } from './PropsType'; import { ListItemProps } from '../list/ListItem'; import { Omit } from '../_util/types'; import { ConfigConsumerProps } from '../config-provider'; export interface CheckboxItemProps extends ListItemProps, Omit { listPrefixCls?: string; prefixCls?: string; className?: string; name?: string; checkboxProps?: CheckboxProps; } export default class CheckboxItem extends React.Component { static defaultProps: { checkboxProps: {}; }; static contextTypes: { checkboxGroup: PropTypes.Requireable; }; renderItem: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element; render(): JSX.Element; }