apphouse
Version:
Component library for React that uses observable state management and theme-able components.
26 lines (25 loc) • 853 B
TypeScript
/**
* The props for the MicrophoneSelector component
*/
interface MicrophoneSelectorProps {
/**
* The id of the select component
*/
id: string;
/**
* A function that is called when the selected microphone changes.
* @optional by default the microphone is changed in the AudioX library
* @param value the value of the selected microphone
* @returns
*/
onChange?: (value: string) => void;
}
/**
* A select component for selecting a microphone.
* This is to be used with the AudioX library.
* Note: For this component to work, the AudioX library must be initialized and
* the microphone must be enabled. The user must also grant permission to
* use the microphone.
*/
export declare const MicrophoneSelector: (props: MicrophoneSelectorProps) => import("react/jsx-runtime").JSX.Element;
export {};