@uppy/dashboard
Version:
Universal UI plugin for Uppy.
17 lines • 629 B
TypeScript
import type { UppyFile } from '@uppy/core';
import type { I18n } from '@uppy/utils/lib/Translator';
import { h } from 'preact';
import type { DashboardState } from '../../../Dashboard.js';
type FileInfoProps = {
file: UppyFile<any, any>;
containerWidth: number;
containerHeight: number;
i18n: I18n;
toggleAddFilesPanel: (show: boolean) => void;
toggleFileCard: (show: boolean, fileId: string) => void;
metaFields: DashboardState<any, any>['metaFields'];
isSingleFile: boolean;
};
export default function FileInfo(props: FileInfoProps): h.JSX.Element;
export {};
//# sourceMappingURL=index.d.ts.map