import e from"prop-types";import{Tooltip as a,IconButton as o}from"@material-ui/core";import{ExpandMore as i,ExpandLess as r}from"@material-ui/icons";import{jsx as s}from"react/jsx-runtime";function p(e){var p=e.isExpanded,n=e.classes,l=e.handleExpandCollapse;return s(a,{title:p?"Collapse":"Expand",children:s(o,{className:n.actionButton,onClick:l,children:s(p?r:i,{className:n.actionIcon})})})}p.propTypes={isExpanded:e.bool,classes:e.shape({}).isRequired,handleExpandCollapse:e.func.isRequired},p.defaultProps={isExpanded:!1};export{p as ExpandCollapseButton};
