@apia/components 3.0.13 → 3.0.15

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/index.js CHANGED
@@ -1380,13 +1380,20 @@ const OpenModal = (props) => {
1380
1380
  onCancel: () => {
1381
1381
  modalProps.hide();
1382
1382
  },
1383
- children: props.children
1383
+ children: props.html ? /* @__PURE__ */ jsx(Box, { dangerouslySetInnerHTML: { __html: props.html } }) : props.children
1384
1384
  }
1385
1385
  )
1386
1386
  }
1387
1387
  );
1388
1388
  }
1389
- return /* @__PURE__ */ jsx(Modal, { ...props, ...modalProps });
1389
+ return /* @__PURE__ */ jsx(
1390
+ Modal,
1391
+ {
1392
+ ...props,
1393
+ ...modalProps,
1394
+ children: props.html ? /* @__PURE__ */ jsx(Box, { dangerouslySetInnerHTML: { __html: props.html } }) : props.children
1395
+ }
1396
+ );
1390
1397
  };
1391
1398
 
1392
1399
  var __defProp$f = Object.defineProperty;