UNPKG

antd

Version:

An enterprise-class UI design language and React-based implementation

24 lines (23 loc) 615 B
/// <reference types="react" /> import React from 'react'; export interface InputNumberProps { prefixCls?: string; min?: number; max?: number; value?: number; step?: number | string; defaultValue?: number; onChange?: (value: number) => void; disabled?: boolean; size?: 'large' | 'small' | 'default'; placeholder?: string; style?: React.CSSProperties; className?: string; } export default class InputNumber extends React.Component<InputNumberProps, any> { static defaultProps: { prefixCls: string; step: number; }; render(): JSX.Element; }