API reference: @salmonui/inputs/speech-to-text
SpeechToTextButtonfunction
import { SpeechToTextButton } from '@salmonui/inputs/speech-to-text';function SpeechToTextButton(props: SpeechToTextButtonProps): ReactElement;
Toggle button that starts and stops speech recognition: Button with aria-pressed while listening. The name stays
constant; the state hint is the accessible description and the title.
Disabled (and described as unsupported) when the browser has no speech
recognition and no recognizer is given.