UNPKG

fui-fancyui

Version:
10 lines (9 loc) 384 B
import { InputHTMLAttributes } from 'react'; import { TRawInput } from '../RawInput'; export type TNumberInput = { autoWidth?: boolean; step?: number; decimalPlaces?: number; } & TRawInput; export type TNumberInputNativeAttrs = Omit<InputHTMLAttributes<HTMLInputElement>, 'type' | 'step'>; export type TNumberInputWithNativeAttrs = TNumberInput & TNumberInputNativeAttrs;