Media
MicSelector
Popover-based microphone device selector with auto-enumeration of available audio input devices.
Open the selector to grant microphone access and choose an input.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| value | string | - | Controlled selected device ID |
| defaultValue | string | - | Default selected device ID |
| onValueChange | (value: string | undefined) => void | - | Callback when device changes |
| open | boolean | - | Controlled popover open state |
| onOpenChange | (open: boolean) => void | - | Callback when popover opens/closes |
Import
import { MicSelector, MicSelectorTrigger, MicSelectorContent, MicSelectorItem } from '@blastx/ui-ai';