ingeniuscliq-core 0.2.28 → 0.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { InputExtendedProps } from '../../ui/input';
|
|
1
2
|
import { BaseStyleProps } from '../../../types/ui/main';
|
|
2
3
|
import { Control, FieldValues, Path } from 'react-hook-form';
|
|
3
4
|
declare enum SUPPORTED_INPUT_TYPES {
|
|
@@ -11,7 +12,7 @@ interface FormInputProps<T extends FieldValues = FieldValues> extends BaseStyleP
|
|
|
11
12
|
readonly name: Path<T>;
|
|
12
13
|
readonly placeholder?: string;
|
|
13
14
|
readonly type?: keyof typeof SUPPORTED_INPUT_TYPES;
|
|
14
|
-
readonly inputProps?:
|
|
15
|
+
readonly inputProps?: React.ComponentProps<"input"> & InputExtendedProps;
|
|
15
16
|
}
|
|
16
17
|
export declare function FormInput<T extends FieldValues = FieldValues>({ control, name, placeholder, type, className, inputProps }: FormInputProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
17
18
|
export {};
|