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

    Variable defaultDevicePreviewLabelsConst

    defaultDevicePreviewLabels: DevicePreviewLabels = ...

    Default labels for the DevicePreview component.

    Use these defaults as a base for internationalization. Spread them into your custom labels object and override only the properties you need.

    import { defaultDevicePreviewLabels, DevicePreview } from '@hiyve/react-ui';

    const frenchLabels = {
    ...defaultDevicePreviewLabels,
    microphoneLevelLabel: 'Niveau du microphone',
    readyButton: 'Rejoindre',
    errorMessage: 'Impossible d\'accéder à la caméra/microphone',
    };

    <DevicePreview labels={frenchLabels} onReady={handleJoin} />