UNPKG

@brizy/ui

Version:
11 lines (10 loc) 380 B
import { ChangeEvent, ReactElement } from "react"; interface Props { disabled?: boolean; handleChange: (event: ChangeEvent<HTMLInputElement>) => void; onClick?: VoidFunction; withText: boolean; acceptableTypes?: string[]; } export declare const UploadButton: ({ disabled, withText, handleChange, onClick, acceptableTypes, }: Props) => ReactElement; export {};