UNPKG

epn-ui

Version:

Дизайн система кабинета ВМ

26 lines (25 loc) 992 B
import type { MaskedInputProps, MaskType } from 'antd-mask-input/build/main/lib/MaskedInput'; import type { InputProps } from 'antd/es/input'; export interface ITextInputProps { value?: InputProps['value']; placeholder?: InputProps['placeholder']; type?: InputProps['type']; id?: InputProps['id']; maxLength?: InputProps['maxLength']; prefix?: InputProps['prefix']; suffix?: InputProps['suffix']; disabled?: InputProps['disabled']; readOnly?: InputProps['readOnly']; allowClear?: InputProps['allowClear']; className?: InputProps['className']; style?: InputProps['style']; mask?: MaskType; maskOptions?: { [key: string]: unknown; }; autoComplete?: InputProps['autoComplete']; onChange?: InputProps['onChange'] | (InputProps['onChange'] & MaskedInputProps['onChange']); onPressEnter?: InputProps['onPressEnter']; onClick?: InputProps['onClick']; onPaste?: InputProps['onPaste']; }