You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
665 B
25 lines
665 B
import * as React from 'react';
|
|
|
|
export interface Props {
|
|
prefixCls?: string;
|
|
className?: string;
|
|
style?: React.CSSProperties;
|
|
name?: string;
|
|
id?: string;
|
|
type?: string;
|
|
defaultChecked?: number | boolean;
|
|
checked?: number | boolean;
|
|
disabled?: boolean;
|
|
onFocus?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
onBlur?: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
onChange?: (e: Event) => void;
|
|
onClick?: (e: React.MouseEvent<HTMLInputElement>) => void;
|
|
tabIndex?: string | number;
|
|
readOnly?: boolean;
|
|
required?: boolean;
|
|
autoFocus?: boolean;
|
|
value?: any;
|
|
}
|
|
|
|
export default class CheckBox extends React.Component<Props> {}
|