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