@uppy/provider-views
Version:
View library for Uppy remote provider plugins.
15 lines • 625 B
TypeScript
import type { PartialTreeFile, PartialTreeFolderNode, PartialTreeId } from '@uppy/core';
import { h } from 'preact';
type ListItemProps = {
file: PartialTreeFile | PartialTreeFolderNode;
openFolder: (folderId: PartialTreeId) => void;
toggleCheckbox: (event: Event) => void;
className: string;
isDisabled: boolean;
restrictionError: string | null;
showTitles: boolean;
i18n: any;
};
export default function ListItem({ file, openFolder, className, isDisabled, restrictionError, toggleCheckbox, showTitles, i18n, }: ListItemProps): h.JSX.Element;
export {};
//# sourceMappingURL=ListItem.d.ts.map