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