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.

581 B
Raw Blame
import {
  RecipientSelector,
  type RecipientSelectorProps,
} from '@core/component/RecipientSelector';
import { cn } from '@ui';

/** Email recipient chips and address completion, independent of a compose session. */
export function ComposeRecipientInput(
  props: RecipientSelectorProps<'user' | 'contact' | 'custom'>
) {
  return (
    <RecipientSelector
      {...props}
      hideBorder
      noPadding
      openOnFocus={props.openOnFocus ?? false}
      hideMenuOnEscape
      showChipAddresses
      class={cn('bg-transparent [&_input]:ml-0!', props.class)}
    />
  );
}