"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("prop-types"),r=require("@material-ui/core"),t=require("@material-ui/icons"),a=require("../sharedStyles.js"),i=require("react/jsx-runtime");function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=s(e);function o(e){var s=e.handleSave,l=e.disabled,o=a.useStyles();return i.jsx(r.Tooltip,{title:l?"":"Save Changes",children:i.jsx(r.IconButton,{className:o.actionButton,onClick:s,disabled:l,children:i.jsx(t.Check,{className:o.actionIcon,color:l?"disabled":"primary"})})})}o.propTypes={handleSave:l.default.func.isRequired,disabled:l.default.bool},o.defaultProps={disabled:!1},exports.SaveButton=o;
