1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from "react";
6 import { ListItemIcon, ListItemText, ListItem } from "@material-ui/core";
7 import { OpenIcon } from "~/components/icon/icon";
8 import { sanitizeToken } from "./helpers";
10 export const FileViewerAction = (props: { href?: any, download?: any, onClick?: () => void, kind?: string, currentCollectionUuid?: string; }) => {
14 style={{ textDecoration: 'none' }}
15 href={sanitizeToken(props.href, false)}
17 onClick={props.onClick}>