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.

596 B
Raw Blame
import { cn } from '@ui';

/**
 * Names when the rows below it arrived: Home's section heading, with its label
 * starting where the inbox cards' text does.
 */
export function InboxDateHeader(props: {
  id: string;
  label: string;
  isFirst: boolean;
}) {
  return (
    <div id={props.id} role="row">
      <div
        role="gridcell"
        class={cn(
          'truncate px-[25px] pt-1 pb-2.5 text-xs font-semibold tracking-tight text-ink-extra-muted/80 mobile:pb-1.5',
          !props.isFirst && 'pt-4 mobile:pt-3'
        )}
      >
        {props.label}
      </div>
    </div>
  );
}