@real-system/input
Version:
Real System input component
12 lines • 593 B
TypeScript
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