@azure/communication-react
Version:
React library for building modern communication user experiences utilizing Azure Communication Services
23 lines • 944 B
JavaScript
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
import React from 'react';
import { useLocale } from '../localization';
import { UnsupportedEnvironment } from './UnsupportedEnvironment';
/**
* UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
*
* @beta
*/
export const UnsupportedOperatingSystem = (props) => {
const { onTroubleshootingClick, strings } = props;
const locale = useLocale();
return React.createElement(UnsupportedEnvironment, { onTroubleshootingClick: onTroubleshootingClick, strings: Object.assign(Object.assign({}, unsupportedOperatingSystemStringsTrampoline(locale)), strings) });
};
const unsupportedOperatingSystemStringsTrampoline = (locale) => {
return {
primaryText: '',
secondaryText: '',
moreHelpLinkText: ''
};
};
//# sourceMappingURL=UnsupportedOperatingSystem.js.map