@thecb/components 7.13.3-beta.1 → 7.13.3-beta.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.13.3-beta.1",
3
+ "version": "7.13.3-beta.3",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -25,7 +25,8 @@ const CollapsibleSection = ({
25
25
  sectionGap = "0.5rem",
26
26
  name = "",
27
27
  index = 1,
28
- headerEl = null
28
+ headerEl = null,
29
+ iconColor = null
29
30
  }) => {
30
31
  const handleKeyDown = e => {
31
32
  if (e.keyCode === 13) {
@@ -113,7 +114,7 @@ const CollapsibleSection = ({
113
114
  variants={icon}
114
115
  extraStyles={`display: flex; align-items: center;`}
115
116
  >
116
- <ChevronIcon color={iconColor ? iconColor : null} />
117
+ <ChevronIcon color={iconColor || ""} />
117
118
  </Motion>
118
119
  </Cluster>
119
120
  </Box>