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.

491 B
Raw Blame
import CaretDown from '@icon/system/regular/caret-down.svg';
import { EditorMenu, type EditorMenuItem } from './editor-menu';

export function ViewerZoom(props: {
  label: string;
  items: (EditorMenuItem | 'divider')[];
}) {
  return (
    <EditorMenu
      label="Zoom and view options"
      testId="fig-zoom-menu"
      items={props.items}
    >
      <span class="min-w-8 text-right text-xs tabular-nums">{props.label}</span>
      <CaretDown class="size-3" />
    </EditorMenu>
  );
}