Skip to main content

InputProps

type
type InputProps = { disabled?: boolean; endFix?: ReactNode; inputStyle?: CSSProperties; noBorder?: boolean; onBlur?: FocusEventHandler<HTMLInputElement>; onChange?: (value: string) => void; onEnter?: () => void; onKeyDown?: KeyboardEventHandler<HTMLInputElement>; preFix?: ReactNode; ref?: Ref<HTMLInputElement>; size?: 'lg' | 'xl' | 'default'; status?: 'error' | 'success' | 'warning' | 'default'; type?: HTMLInputElement['type']; width?: CSSProperties['width'] } & Omit<InputHTMLAttributes<HTMLInputElement>, 'size' | 'onChange' | 'onCompositionEnd' | 'onCompositionStart'>

Import

import { InputProps } from '@modular/sdk/ui';