mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
去掉多余的代码
This commit is contained in:
parent
ef86ff98bb
commit
32fd97ec91
@ -8,9 +8,6 @@ import {ClassNamesFn, themeable} from '../theme';
|
||||
import {autobind} from '../utils/helper';
|
||||
|
||||
interface CheckboxProps {
|
||||
id?: string;
|
||||
key?: string | number;
|
||||
style?: React.CSSProperties;
|
||||
type: 'checkbox' | 'radio';
|
||||
size?: 'sm' | 'lg' | 'small' | 'large';
|
||||
label?: string;
|
||||
@ -18,10 +15,9 @@ interface CheckboxProps {
|
||||
className?: string;
|
||||
onChange?: (value: any) => void;
|
||||
value?: any;
|
||||
containerClass?: string;
|
||||
inline?: boolean;
|
||||
trueValue?: boolean;
|
||||
falseValue?: boolean;
|
||||
trueValue?: any;
|
||||
falseValue?: any;
|
||||
disabled?: boolean;
|
||||
readOnly?: boolean;
|
||||
checked?: boolean;
|
||||
@ -30,7 +26,6 @@ interface CheckboxProps {
|
||||
classPrefix: string;
|
||||
classnames: ClassNamesFn;
|
||||
partial?: boolean;
|
||||
data?: any;
|
||||
}
|
||||
|
||||
export class Checkbox extends React.Component<CheckboxProps, any> {
|
||||
|
Loading…
Reference in New Issue
Block a user