"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),a=require("@material-ui/core"),s=require("@material-ui/icons"),t=require("react/jsx-runtime");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e);function o(e){var n=e.isExpanded,r=e.classes,o=e.handleExpandCollapse;return t.jsx(a.Tooltip,{title:n?"Collapse":"Expand",children:t.jsx(a.IconButton,{className:r.actionButton,onClick:o,children:n?t.jsx(s.ExpandLess,{className:r.actionIcon}):t.jsx(s.ExpandMore,{className:r.actionIcon})})})}o.propTypes={isExpanded:r.default.bool,classes:r.default.shape({}).isRequired,handleExpandCollapse:r.default.func.isRequired},o.defaultProps={isExpanded:!1},exports.ExpandCollapseButton=o;
