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.
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  interface UseModalProps {
3
3
  maxWidth?: string;
4
+ overflow?: string;
4
5
  }
5
- declare const useCustomModal: ({ maxWidth }: UseModalProps) => {
6
+ declare const useCustomModal: ({ maxWidth, overflow }: UseModalProps) => {
6
7
  isOpen: boolean;
7
8
  setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
8
9
  createModal: (content: React.ReactNode) => React.JSX.Element;
package/dist/index.js CHANGED
@@ -5455,7 +5455,8 @@ var Modal = function Modal(_ref4) {
5455
5455
  }, children));
5456
5456
  };
5457
5457
  var useCustomModal = function useCustomModal(_ref5) {
5458
- var maxWidth = _ref5.maxWidth;
5458
+ var maxWidth = _ref5.maxWidth,
5459
+ overflow = _ref5.overflow;
5459
5460
  var _useState = React.useState(false),
5460
5461
  isOpen = _useState[0],
5461
5462
  setIsOpen = _useState[1];
@@ -5472,7 +5473,8 @@ var useCustomModal = function useCustomModal(_ref5) {
5472
5473
  var createModal = function createModal(content) {
5473
5474
  return React__default.createElement(Modal, {
5474
5475
  isOpen: isOpen,
5475
- maxWidth: maxWidth
5476
+ maxWidth: maxWidth,
5477
+ overflow: overflow
5476
5478
  }, content);
5477
5479
  };
5478
5480
  return {