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.

660 B
Raw Blame
import MicrophoneSlash from '@icon/system/regular/microphone-slash.svg';
import { type JSX, Show } from 'solid-js';

export type MutedMicrophoneBadgeProps = {
  muted: boolean;
  label: string;
};

export function MutedMicrophoneBadge(
  props: MutedMicrophoneBadgeProps
): JSX.Element {
  return (
    <Show when={props.muted}>
      <div
        role="status"
        aria-label={props.label}
        class="pointer-events-none absolute top-2 right-2 z-10 flex size-7 items-center justify-center rounded-full border border-edge bg-surface/90 text-failure"
      >
        <MicrophoneSlash aria-hidden="true" class="size-5" />
      </div>
    </Show>
  );
}