@fluster.io/dev
Version:
20 lines (19 loc) • 636 B
TypeScript
import { ReactNode } from 'react';
import { FormInputProps } from '../types';
import { FieldValues } from 'react-hook-form';
interface FilePathInputProps<T extends FieldValues> extends FormInputProps<T> {
classes?: {
formItem?: string;
container?: string;
input?: string;
};
dialogTitle?: string;
directory?: boolean;
defaultPath?: string;
multiple?: boolean;
}
export declare const FilePathInput: {
<T extends FieldValues>({ name, form, label, desc, directory, defaultPath, dialogTitle, multiple, classes, }: FilePathInputProps<T>): ReactNode;
displayName: string;
};
export {};