@fixefy/fixefy-ui-components 0.3.100 → 0.3.101

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,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal, buttonSx, menuItemSx, iconSize, }: {
2
+ export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal, buttonSx, menuItemSx, iconSize, assetUrl, }: {
3
3
  btnType?: "text" | "icon";
4
4
  btnValue?: string;
5
5
  modalData: any;
@@ -11,4 +11,5 @@ export declare const FxButtonModalWithMenu: ({ btnType, btnValue, modalData, onC
11
11
  buttonSx?: any;
12
12
  menuItemSx?: any;
13
13
  iconSize?: number;
14
+ assetUrl?: string;
14
15
  }) => React.JSX.Element;
@@ -61,7 +61,7 @@ function _interop_require_wildcard(obj, nodeInterop) {
61
61
  }
62
62
  return newObj;
63
63
  }
64
- const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal = true, buttonSx, menuItemSx, iconSize })=>{
64
+ const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick, disabled, startIcon, endIcon, shouldShowModal = true, buttonSx, menuItemSx, iconSize, assetUrl })=>{
65
65
  const [isOpen, setIsOpen] = (0, _react.useState)(false);
66
66
  const [AnchorEl, setAnchorEl] = (0, _react.useState)(null);
67
67
  const handleClick = (e)=>{
@@ -93,7 +93,8 @@ const FxButtonModalWithMenu = ({ btnType = 'text', btnValue, modalData, onClick,
93
93
  startIcon: startIcon,
94
94
  endIcon: endIcon,
95
95
  iconSize: iconSize || 20,
96
- disabled: disabled
96
+ disabled: disabled,
97
+ assetUrl: assetUrl
97
98
  }),
98
99
  shouldShowModal && /*#__PURE__*/ (0, _jsxruntime.jsx)(_Menu.default, {
99
100
  id: "fade-menu",
package/package.json CHANGED
@@ -72,5 +72,5 @@
72
72
  "require": "./dist/index.js"
73
73
  }
74
74
  },
75
- "version": "0.3.100"
75
+ "version": "0.3.101"
76
76
  }