UNPKG

communication-react-19

Version:

React library for building modern communication user experiences utilizing Azure Communication Services (React 19 compatible fork)

12 lines 714 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. import React from 'react'; import { ControlBarButton } from "../../../../react-components/src"; import { _HighContrastAwareIcon } from "../../../../react-components/src"; /** * @private */ export const ExitSpotlightButton = (props) => { return (React.createElement(ControlBarButton, Object.assign({ "data-ui-id": 'call-composite-exit-spotlight-button', labelKey: 'exitSpotlightButtonLabelKey', showLabel: props.displayType !== 'compact', onRenderIcon: () => React.createElement(_HighContrastAwareIcon, { iconName: 'ControlButtonExitSpotlight' }), onClick: props.onClick }, props))); }; //# sourceMappingURL=ExitSpotlightButton.js.map