labsense-ui-kit 1.3.4 → 1.3.5
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/hooks/useCustomModal.d.ts +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -5451,7 +5451,8 @@ var Modal = function Modal(_ref4) {
|
|
|
5451
5451
|
}, children));
|
|
5452
5452
|
};
|
|
5453
5453
|
var useCustomModal = function useCustomModal(_ref5) {
|
|
5454
|
-
var maxWidth = _ref5.maxWidth
|
|
5454
|
+
var maxWidth = _ref5.maxWidth,
|
|
5455
|
+
overflow = _ref5.overflow;
|
|
5455
5456
|
var _useState = useState(false),
|
|
5456
5457
|
isOpen = _useState[0],
|
|
5457
5458
|
setIsOpen = _useState[1];
|
|
@@ -5468,7 +5469,8 @@ var useCustomModal = function useCustomModal(_ref5) {
|
|
|
5468
5469
|
var createModal = function createModal(content) {
|
|
5469
5470
|
return React.createElement(Modal, {
|
|
5470
5471
|
isOpen: isOpen,
|
|
5471
|
-
maxWidth: maxWidth
|
|
5472
|
+
maxWidth: maxWidth,
|
|
5473
|
+
overflow: overflow
|
|
5472
5474
|
}, content);
|
|
5473
5475
|
};
|
|
5474
5476
|
return {
|