1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import React from 'react';
6 import { DefaultIcon, ProjectsIcon } from 'components/icon/icon';
7 import { EmptyResource } from 'models/empty';
8 import { DetailsData } from "./details-data";
9 import { DefaultView } from 'components/default-view/default-view';
11 export class EmptyDetails extends DetailsData<EmptyResource> {
12 getIcon(className?: string) {
13 return <ProjectsIcon className={className}/>;
17 return <DefaultView icon={DefaultIcon} messages={['Select a file or folder to view its details.']} />;