media-manager-next
Version:
Simple media manager to use it for uploading and managing resources (images, files, etc.). It uses MUI material design theme.
19 lines • 679 B
TypeScript
export declare type MediaItemT = {
id: string | number;
type: string;
width: number;
height: number;
url: string;
text?: {
title?: string;
description?: string;
};
createdAt: string;
updatedAt: string;
[key: string]: string | number | Object | undefined;
};
export declare type SetMediaItemT = (item: MediaItemT) => void;
export declare type OnChangeValueT = (key: string, value: never) => void;
export declare type MediaManagerActionT = 'SAVE' | 'CANCEL' | 'SELECT' | 'DELETE';
export declare type TranslationFunctionType = (key: string | string[], data?: Object) => string;
//# sourceMappingURL=MediaManagerTypes.d.ts.map