@dxos/react-ui
    Preparing search index...
    SystemMicProps: Omit<Props, "label" | "onClick"> & {
        label: string;
        mode?: SystemMicMode;
        onPressEnd?: () => void;
        onPressStart?: () => void;
        onToggle?: () => void;
        recording?: boolean;
    }

    Type declaration

    • label: string

      Required: there is no default, since the caller's recording state decides it (e.g. "Start"/"Stop recording").

    • Optionalmode?: SystemMicMode

      toggle: a click flips recording. hold: records only while held (push-to-talk).

    • OptionalonPressEnd?: () => void

      Fired in hold mode when the press ends (release, cancel, or lost capture).

    • OptionalonPressStart?: () => void

      Fired in hold mode when the press begins.

    • OptionalonToggle?: () => void

      Fired in toggle mode on click.

    • Optionalrecording?: boolean

      Whether recording is active; fills the button with the error hue.