// tmp-babel/profiles/web/ProfileComponent/BlockButtonWithDialog/styled.js
import { Button } from "@mui/material";
import { styled } from "@mui/material/styles";
var ActionButton = styled(Button)(function(_ref) {
  var theme = _ref.theme, _ref$isBlocked = _ref.isBlocked, isBlocked = _ref$isBlocked === void 0 ? false : _ref$isBlocked;
  return {
    backgroundColor: isBlocked ? theme.palette.grey[800] : theme.palette.error.main,
    "&:hover": {
      backgroundColor: isBlocked ? theme.palette.grey[900] : theme.palette.error.dark
    }
  };
});

export {
  ActionButton
};
//# sourceMappingURL=chunk-PI4QS43C.mjs.map