jiaqingjiayi-xiaochengxu/甲情_甲意/node_modules/antd-mini/es/Stepper/props.d.ts

79 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-11-15 03:51:28 +00:00
import { IBaseProps } from '../_util/base';
/**
* @description
*/
export interface IStepperProps extends IBaseProps {
/**
* @description
*/
value: number;
/**
* @description
*/
min: number;
/**
* @description
*/
max: number;
/**
* @description
* @default 1
*/
step: number;
/**
* @description
*/
type: 'number' | 'digit';
/**
* @description
* https://github.com/ant-design/ant-design/issues/5998
*/
precision: number;
/**
* @description
*/
inputClassName: string;
/**
* @description
*/
inputStyle: string;
/**
* @description
* @default false
*/
disabled?: boolean;
/**
* @description
* @default false
*/
inputReadOnly?: boolean;
/**
* @description
*/
defaultValue: number;
focus?: boolean;
/**
*
* @description onChange
*/
onChange?: (value: number, e: any) => void;
/**
*
* @description onConfirm
*/
onConfirm?: (value: number, e: any) => void;
/**
* @description onFocus
*/
onFocus?: (value: number, e: any) => void;
/**
* @description onBlur
*/
onBlur?: (value: number, e: any) => void;
/**
* @description onDisabledTap
*/
onDisabledTap?: (e: any) => void;
}
export declare const StepperDefaultProps: Partial<IStepperProps>;