import e from"prop-types";import t from"classnames";import{makeStyles as a,Typography as o,Button as r}from"@material-ui/core";import{jsxs as n,jsx as i}from"react/jsx-runtime";var s=a((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 a=e.onCloneDashboard,l=s();return n("div",{className:t(l.messageContainer,a&&l.bottomAligned),children:[i(o,{className:l.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."}),a&&i(r,{color:"primary",variant:"contained",onClick:function(){return a()},children:"Copy Dashboard"})]})}l.propTypes={onCloneDashboard:e.func.isRequired};export{l as default};
//# sourceMappingURL=DisabledSettingsMessage.js.map
