import { Box, Grid } from '@material-ui/core' import { ReactElement } from 'react' import X from 'remixicon-react/CloseLineIcon' import Bookmark from 'remixicon-react/BookmarkLineIcon' import Download from 'remixicon-react/DownloadLineIcon' import Link from 'remixicon-react/LinkIcon' import ExpandableListItemActions from '../../components/ExpandableListItemActions' import { SwarmButton } from '../../components/SwarmButton' interface Props { onOpen: () => void onCancel: () => void onDownload: () => void onUpdateFeed: () => void hasIndexDocument: boolean loading: boolean } export function DownloadActionBar({ onOpen, onCancel, onDownload, onUpdateFeed, hasIndexDocument, loading, }: Props): ReactElement { return ( {hasIndexDocument && ( View Website )} Download Close Update Feed ) }