oa-componentbook 0.18.268 → 0.18.269

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.
@@ -39,6 +39,11 @@ const costCoveredBy = {
39
39
 
40
40
  // Renders the cost with currency formatting
41
41
  const renderCost = cost => {
42
+ if ( /*#__PURE__*/_react.default.isValidElement(cost)) {
43
+ return /*#__PURE__*/_react.default.createElement(_Typography.default, {
44
+ typography: "type-b2-400"
45
+ }, cost);
46
+ }
42
47
  if (!Number.isNaN(cost)) {
43
48
  var _Number;
44
49
  return /*#__PURE__*/_react.default.createElement(_Typography.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "0.18.268",
3
+ "version": "0.18.269",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",