qbs-react-grid 1.2.3 → 1.2.4

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.
@@ -87,7 +87,7 @@ var CardMenuDropdown = function CardMenuDropdown(_ref) {
87
87
  className: " qbs-card-dropdown-menu-item no-underline " + (item.isWarning ? 'text-error-light' : ' text-black/70 dark:text-white') + " text-xxs flex items-center w-full tracking-[0.24px] font-medium "
88
88
  }, (item === null || item === void 0 ? void 0 : item.icon) && /*#__PURE__*/React.createElement(React.Fragment, null, item.icon), /*#__PURE__*/React.createElement("span", {
89
89
  className: "pl-1.5 no-underline text-sm "
90
- }, 'Edit this column')));
90
+ }, item.title)));
91
91
  }))));
92
92
  };
93
93
  export default CardMenuDropdown;
@@ -93,7 +93,7 @@ var CardMenuDropdown = function CardMenuDropdown(_ref) {
93
93
  className: " qbs-card-dropdown-menu-item no-underline " + (item.isWarning ? 'text-error-light' : ' text-black/70 dark:text-white') + " text-xxs flex items-center w-full tracking-[0.24px] font-medium "
94
94
  }, (item === null || item === void 0 ? void 0 : item.icon) && /*#__PURE__*/_react["default"].createElement(_react["default"].Fragment, null, item.icon), /*#__PURE__*/_react["default"].createElement("span", {
95
95
  className: "pl-1.5 no-underline text-sm "
96
- }, 'Edit this column')));
96
+ }, item.title)));
97
97
  }))));
98
98
  };
99
99
  var _default = CardMenuDropdown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qbs-react-grid",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "description": "A React table component",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
@@ -105,7 +105,7 @@ const CardMenuDropdown: React.FC<Props> = ({ actionDropDown, handleMenuActions,
105
105
  } text-xxs flex items-center w-full tracking-[0.24px] font-medium `}
106
106
  >
107
107
  {item?.icon && <>{item.icon}</>}
108
- <span className="pl-1.5 no-underline text-sm ">{'Edit this column'}</span>
108
+ <span className="pl-1.5 no-underline text-sm ">{item.title}</span>
109
109
  </div>
110
110
  </a>
111
111
  )