"use strict";var e=require("prop-types"),t=require("classnames"),a=require("@material-ui/core"),r=require("react/jsx-runtime");function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=n(e),i=n(t),s=a.makeStyles((function(e){return{messageContainer:{display:"flex",flexGrow:1,alignItems:"flex-start",flexDirection:"column"},bottomAligned:{alignItems:"flex-end",justifyContent:"space-between",height:"100%"},textContent:{color:e.palette.primary.text6}}}));function l(e){var t=e.onCloneDashboard,n=s();return r.jsxs("div",{className:i.default(n.messageContainer,t&&n.bottomAligned),children:[r.jsx(a.Typography,{className:n.textContent,variant:"body1",gutterBottom:!0,children:"Settings are not available. This is a shared dashboard, which means it's been locked for editing. Make a copy of this dashboard and get access to all editing features."}),t&&r.jsx(a.Button,{color:"primary",variant:"contained",onClick:function(){return t()},children:"Copy Dashboard"})]})}l.propTypes={onCloneDashboard:o.default.func.isRequired},module.exports=l;
//# sourceMappingURL=DisabledSettingsMessage.js.map
