drip-table
Version:
A tiny and powerful enterprise-class solution for building tables.
13 lines (12 loc) • 591 B
TypeScript
import './index.less';
import { InputNumberProps as RcInputNumberProps } from 'rc-input-number';
import React from 'react';
export declare type SizeType = 'small' | 'middle' | 'large' | undefined;
declare type ValueType = string | number;
export interface InputNumberProps<T extends ValueType = ValueType> extends Omit<RcInputNumberProps<T>, 'prefix' | 'size'> {
prefixCls?: string;
bordered?: boolean;
size?: 'large' | 'middle' | 'small';
}
declare const InputNumber: React.MemoExoticComponent<({ ...props }: InputNumberProps) => React.JSX.Element>;
export default InputNumber;