shelving
Version:
Toolkit for using data in JavaScript.
8 lines (7 loc) • 398 B
TypeScript
import type { ReactElement } from "react";
import type { FileTypes } from "../../util/file.js";
import { type ValueInputProps } from "./Input.js";
export interface FileInputProps extends ValueInputProps<string | File> {
types?: FileTypes | undefined;
}
export declare function FileInput({ name, title, placeholder, required, disabled, message, onValue, types, }: FileInputProps): ReactElement;