@brizy/ui
Version:
React elements in Brizy style
11 lines (10 loc) • 380 B
TypeScript
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 {};