Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

618 B
Raw Blame
import { FileDownloadButton } from '@core/component/FileDownload';
import type { FileDownloadController } from '@core/util/createFileDownload';
import { HeaderActionGroup } from './HeaderActionGroup';
import { SidePanel } from './side-panel/SidePanel';

/** Shared by Drive previews and standalone file blocks. */
export function FileDownloadHeader(props: {
  download: FileDownloadController;
}) {
  return (
    <SidePanel.HeaderActions>
      <HeaderActionGroup label="File download">
        <FileDownloadButton grouped download={props.download} />
      </HeaderActionGroup>
    </SidePanel.HeaderActions>
  );
}