scorer-ui-kit 2.2.2 → 2.2.3

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.
@@ -9,6 +9,7 @@ interface IProps {
9
9
  areaHref?: string;
10
10
  areaTitle?: string;
11
11
  icon?: string;
12
+ iconColor?: string;
12
13
  introductionText?: string;
13
14
  updateDocTitle?: boolean;
14
15
  hideAreaInDocTitle?: boolean;
package/dist/index.js CHANGED
@@ -10031,6 +10031,8 @@ var TagListWrapper = styled__default.div(_templateObject5$D || (_templateObject5
10031
10031
  var PageHeader = function PageHeader(_ref2) {
10032
10032
  var title = _ref2.title,
10033
10033
  icon = _ref2.icon,
10034
+ _ref2$iconColor = _ref2.iconColor,
10035
+ iconColor = _ref2$iconColor === void 0 ? 'primary-9' : _ref2$iconColor,
10034
10036
  introductionText = _ref2.introductionText,
10035
10037
  areaHref = _ref2.areaHref,
10036
10038
  areaTitle = _ref2.areaTitle,
@@ -10041,7 +10043,7 @@ var PageHeader = function PageHeader(_ref2) {
10041
10043
  areaTitleBottom = _ref2.areaTitleBottom,
10042
10044
  rightContent = _ref2.rightContent;
10043
10045
  return React__default.createElement(Container$F, null, React__default.createElement(LeftPanel, null, React__default.createElement(PageTitle, Object.assign({
10044
- iconColor: 'primary-9'
10046
+ iconColor: iconColor
10045
10047
  }, {
10046
10048
  title: title,
10047
10049
  icon: icon,