dce-reactkit 3.6.18 → 3.6.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -621,7 +621,11 @@ const Modal = (props) => {
621
621
  React__default["default"].createElement("h5", { className: "modal-title", style: {
622
622
  fontWeight: 'bold',
623
623
  } }, title),
624
- onClose && (React__default["default"].createElement("button", { type: "button", className: "btn-close", "aria-label": "Close", onClick: () => {
624
+ onClose && (React__default["default"].createElement("button", { type: "button", className: "Modal-x-button btn-close", "aria-label": "Close", style: {
625
+ backgroundColor: (isDarkModeOn()
626
+ ? 'white'
627
+ : undefined),
628
+ }, onClick: () => {
625
629
  // Handle close
626
630
  handleClose(ModalButtonType$1.Cancel);
627
631
  } }))),