|
|
@ -38,7 +38,7 @@ export interface CheckboxChangeEvent { |
|
|
|
nativeEvent: MouseEvent; |
|
|
|
} |
|
|
|
|
|
|
|
export default class Checkbox extends React.Component<CheckboxProps, {}> { |
|
|
|
export default class Checkbox extends React.Component<CheckboxProps, {}, {}> { |
|
|
|
static Group: typeof CheckboxGroup; |
|
|
|
static defaultProps = { |
|
|
|
prefixCls: 'ant-checkbox', |
|
|
@ -49,6 +49,8 @@ export default class Checkbox extends React.Component<CheckboxProps, {}> { |
|
|
|
checkboxGroup: PropTypes.any, |
|
|
|
}; |
|
|
|
|
|
|
|
context: any; |
|
|
|
|
|
|
|
private rcCheckbox: any; |
|
|
|
|
|
|
|
shouldComponentUpdate(nextProps: CheckboxProps, nextState: {}, nextContext: CheckboxGroupContext) { |
|
|
|