API reference: @salmonui/inputs/speech-to-text
SpeechToTextLocaleTextinterface
import type { SpeechToTextLocaleText } from '@salmonui/inputs/speech-to-text';interface SpeechToTextLocaleText {
readonly label?: string;
readonly start?: string;
readonly stop?: string;
readonly unsupported?: string;
}
User-visible strings of SpeechToTextButton.
| Name | Signature | Description |
|---|---|---|
labeloptional | readonly label?: string; | Accessible name of an icon-only button. Default |
startoptional | readonly start?: string; | Hint while idle or stopped. Default |
stopoptional | readonly stop?: string; | Hint while listening. Default |
unsupportedoptional | readonly unsupported?: string; | Hint when the browser has no speech recognition. |