@sinco/react 1.2.5-rc.1 → 1.2.5-rc.2

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.
Files changed (2) hide show
  1. package/index.esm.js +4 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -16773,9 +16773,9 @@ var DrawerComponent = function DrawerComponent(_ref) {
16773
16773
  sxActions = _ref.sxActions,
16774
16774
  color = _ref.color,
16775
16775
  backgroundColor = _ref.backgroundColor,
16776
- closeIconColor = _ref.closeIconColor;
16777
- _ref.headerColor;
16778
- var _ref$anchor = _ref.anchor,
16776
+ closeIconColor = _ref.closeIconColor,
16777
+ headerColor = _ref.headerColor,
16778
+ _ref$anchor = _ref.anchor,
16779
16779
  anchor = _ref$anchor === void 0 ? "left" : _ref$anchor,
16780
16780
  _ref$anchorActions = _ref.anchorActions,
16781
16781
  anchorActions = _ref$anchorActions === void 0 ? "flex-end" : _ref$anchorActions,
@@ -16810,7 +16810,7 @@ var DrawerComponent = function DrawerComponent(_ref) {
16810
16810
  py: 1.5,
16811
16811
  px: 1,
16812
16812
  sx: _objectSpread2({
16813
- backgroundColor: "secondary.main"
16813
+ backgroundColor: headerColor || "secondary"
16814
16814
  }, sxHeader)
16815
16815
  }, React__default.createElement(Typography, {
16816
16816
  color: color || "background.paper",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.2.5-rc.1",
3
+ "version": "1.2.5-rc.2",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",