import { Meta, ArgTypes } from '@storybook/blocks'; import MicSelection from '../MicSelection'; # MicSelection The `MicSelection` component renders a `Select FormField` component with audio input source options and the selected audio input provided by the `useAudioInputs` hook. By default, the first device will be selected from the device list returned by the `useAudioInputs` hook, otherwise a single option with _not found_ message will be shown. The component depends on the `DevicesProvider`. If you are using `MeetingProvider`, `DevicesProvider` is rendered by default. ## Importing ```javascript import { MicSelection } from 'amazon-chime-sdk-component-library-react'; ``` ## Usage ```jsx import React from 'react'; import { MeetingProvider, MicSelection } from 'amazon-chime-sdk-component-library-react'; const App = () => { return ( ); }; ``` ## Props ### Dependencies - `MeetingProvider` - `DevicesProvider`, If you are using `MeetingProvider`, `DevicesProvider` is rendered by default - `useAudioInputs`