Const
Default labels for the DeviceSelector component.
Use these defaults as a base for internationalization. Spread them into your custom labels object and override only the properties you need.
import { defaultDeviceSelectorLabels, DeviceSelector } from '@hiyve/react-ui';const spanishLabels = { ...defaultDeviceSelectorLabels, camera: 'Cámara', microphone: 'Micrófono', speaker: 'Altavoz',};<DeviceSelector labels={spanishLabels} onDeviceChange={handleChange} /> Copy
import { defaultDeviceSelectorLabels, DeviceSelector } from '@hiyve/react-ui';const spanishLabels = { ...defaultDeviceSelectorLabels, camera: 'Cámara', microphone: 'Micrófono', speaker: 'Altavoz',};<DeviceSelector labels={spanishLabels} onDeviceChange={handleChange} />
Default labels for the DeviceSelector component.