UNPKG

@cerberus-design/react

Version:

The Cerberus Design React component library.

21 lines (20 loc) 659 B
import { InputHTMLAttributes } from 'react'; export interface FileUploaderProps extends InputHTMLAttributes<HTMLInputElement> { /** * The optional heading to display in the FileUploader component. */ heading?: string; /** * The name of the file input element. */ name: string; /** * Disable the FileUploader component. Good for single-use file uploads. */ disabled?: boolean; } /** * A component that allows the user to upload files. * @see https://cerberus.digitalu.design/react/file-uploader */ export declare function FileUploader(props: FileUploaderProps): import("react/jsx-runtime").JSX.Element;