ar-design
Version:
AR Design is a (react | nextjs) ui library.
17 lines (16 loc) • 562 B
TypeScript
import { MimeTypes } from "../../../libs/types";
import { IDisabled, ISize, IValidation } from "../../../libs/types/IGlobalProps";
interface IMultiple {
files: File[];
onChange: (formData: FormData, files: File[], base64: string[], isInvalidFileExist: boolean) => void;
}
type Props = {
text: string;
allowedTypes?: MimeTypes[];
maxSize?: number;
type?: "list" | "grid" | "dropzone";
direction?: "row" | "column";
fullWidth?: boolean;
multiple?: boolean;
} & IMultiple & ISize & IValidation & IDisabled;
export default Props;