ConstUse 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} />
Default labels for the DevicePreview component.