UNPKG

@real-system/input

Version:
12 lines 593 B
import type * as React from 'react'; import type { RealElementPrimitiveProps } from '@real-system/elements-primitive'; import type { ValidationProps } from '@real-system/utils-library'; import type { InputBoxProps } from './InputBox'; export type InputProps = Partial<Pick<InputBoxProps, 'type' | 'prefix' | 'suffix' | 'addonProps'>> & { suffix?: React.ReactNode; prefix?: React.ReactNode; name?: string; placeholder?: string; value?: string; } & RealElementPrimitiveProps<'input'> & Pick<ValidationProps, 'hasError' | 'required'>; //# sourceMappingURL=Input.model.d.ts.map