@dropzone-ui/react
Version:
The best and most complete React library for managing file uploads. Multilanguage support. Server side support. Material design styles. Code generator on webpage.
10 lines (9 loc) • 529 B
TypeScript
export declare type Localization = "EN-en" | "ES-es" | "FR-fr" | "IT-it" | "PT-pt" | "RU-ru" | "ZH-cn" | "ZH-hk";
export declare type Components = "dropzone" | "file-item" | "dropzone-footer" | "dropzone-header" | "image-preview";
export declare type FunctionLabel = ((s1: string | number, s2?: string | number, s3?: string) => string);
export interface LocalLabels {
[label: string]: string | FunctionLabel | LocalLabels;
}
export declare type ComponentLocalizer = {
[language in Localization]: LocalLabels;
};