@fluster.io/dev
Version:
23 lines (22 loc) • 753 B
TypeScript
import { ComponentProps, ReactNode } from 'react';
import { Input } from '../../shad/input';
import { FormInputProps } from '../types';
import { FieldValues } from 'react-hook-form';
interface TextInputGroupProps<T extends FieldValues> extends FormInputProps<T> {
inputProps?: Omit<ComponentProps<typeof Input>, "onChange" | "value" | "className">;
ids?: {
formItem?: string;
container?: string;
input?: string;
};
classes?: {
formItem?: string;
container?: string;
input?: string;
};
}
export declare const TextInputGroup: {
<T extends FieldValues>({ form, label, name, desc, classes, ids, inputProps, }: TextInputGroupProps<T>): ReactNode;
displayName: string;
};
export {};