UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

19 lines 568 B
import { InputHTMLAttributes } from 'react'; import { Polymorphic } from '../../..'; /** * @internal */ export declare type PrimitiveInputType = HTMLInputElement | HTMLTextAreaElement; /** * @internal */ export declare type BaseFieldProps<T = Record<string, unknown>> = InputHTMLAttributes<PrimitiveInputType> & { invalid?: boolean; } & T; /** * @internal */ declare type PolymorphicBaseField = Polymorphic.ForwardRefComponent<'input', BaseFieldProps>; export declare const BaseField: PolymorphicBaseField; export {}; //# sourceMappingURL=base-field.d.ts.map