"use strict";var e=require("prop-types"),t=require("classnames"),r=require("@material-ui/core"),i=require("@icon-park/react/es/all"),s=require("./RestoreAppSizeButton.css.js"),a=require("../../../../../utils/mobileDetect.js"),n=require("react/jsx-runtime");function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=o(e),u=o(t),l=o(i);function d(e){var t=e.setIsMaximized;return n.jsx("div",{className:u.default(s.containerRestoreAction,a.isNativeDetected&&s.containerRestoreActionNative),children:n.jsx(r.IconButton,{"data-testid":"".concat("DevCenter_AppContainer","_restore"),className:s.iconButton,onClick:function(){t(!1)},children:n.jsx(l.default,{type:"close-small",className:a.isNativeDetected?s.containerRestoreIconNative:s.containerRestoreIcon})})})}d.propTypes={setIsMaximized:c.default.func.isRequired},module.exports=d;
