mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
chore: 补充number组件state声明
This commit is contained in:
parent
73fb2367d8
commit
bc935c9325
@ -76,7 +76,11 @@ export interface NumberProps extends ThemeProps {
|
||||
inputControlClassName?: string;
|
||||
}
|
||||
|
||||
export class NumberInput extends React.Component<NumberProps, any> {
|
||||
export interface NumberState {
|
||||
focused: boolean;
|
||||
}
|
||||
|
||||
export class NumberInput extends React.Component<NumberProps, NumberState> {
|
||||
static defaultProps: Pick<
|
||||
NumberProps,
|
||||
'step' | 'readOnly' | 'borderMode' | 'resetValue'
|
||||
|
Loading…
Reference in New Issue
Block a user