import * as React from 'react'; import './style.scss'; import { CheckboxProps } from './interface'; export default class Checkbox extends React.PureComponent { static defaultProps: { disabled: boolean; defaultChecked: boolean; label: string; tipsType: string; fontSize: string; textColor: string; }; constructor(props: CheckboxProps); private inputRef; private txtRef; private containerRef; componentWillReceiveProps(nextProps: CheckboxProps): void; onChange: (event: React.ChangeEvent) => void; render(): JSX.Element; }