Hiyve Components - v1.0.0
    Preparing search index...

    Variable defaultDeviceSelectorLabelsConst

    defaultDeviceSelectorLabels: DeviceSelectorLabels = ...

    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} />