@arteneo/forge-uppy
Version:
23 lines (22 loc) • 884 B
TypeScript
import React from "react";
import { TextFieldProps } from "@mui/material";
interface UppyPrettyInputProps {
inputRef: React.RefObject<HTMLInputElement>;
fileName?: string;
label?: React.ReactNode;
hasError: boolean;
placeholder?: string;
help?: React.ReactNode;
required: boolean;
disabled: boolean;
clear: () => void;
fieldProps?: TextFieldProps;
textFileEmptyLabel?: string;
textFileEmptyDisabledLabel?: string;
textFileNameLabel?: string;
clearTooltip?: string;
buttonLabel?: string;
}
declare const UppyPrettyInput: ({ inputRef, fileName, label, hasError, placeholder, required, disabled, help, clear, fieldProps, textFileEmptyLabel, textFileEmptyDisabledLabel, textFileNameLabel, clearTooltip, buttonLabel, }: UppyPrettyInputProps) => React.JSX.Element;
export default UppyPrettyInput;
export { UppyPrettyInputProps };