@harvest-profit/npk
Version:
NPK UI Design System
22 lines • 752 B
TypeScript
import React from 'react';
import { BaseInputProps } from '../BaseInput';
import { MaskType } from '../hooks/useMask';
interface InputProps extends BaseInputProps {
[key: string]: any;
onBlur?: (any?: any) => void;
onFocus?: (any?: any) => void;
onChange?: (string: any) => void;
value?: string;
width?: string | number;
mask?: 'number' | 'calendar-day' | 'calendar-month' | 'calendar-year' | 'time-hour' | 'time-minute' | 'time-tod' | MaskType;
debounce?: boolean | number;
loading?: boolean;
disabled?: boolean;
formatOptions?: any;
type?: string;
readOnly?: boolean;
}
declare const Input: React.FC<InputProps>;
export default Input;
export type { InputProps };
//# sourceMappingURL=Input.d.ts.map