1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { DetailsData } from "./details-data";
7 import { CollectionFile, CollectionDirectory } from '~/models/collection-file';
8 import { getIcon } from '~/components/file-tree/file-tree-item';
10 export class FileDetails extends DetailsData<CollectionFile | CollectionDirectory> {
12 getIcon(className?: string) {
13 const Icon = getIcon(this.item.type);
14 return <Icon className={className} />;
18 return <div>File details</div>;