@bigbinary/neetoui 5.2.9 → 5.2.10
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/index.cjs.js +6 -3
- package/index.cjs.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +6 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -20231,14 +20231,17 @@ var Input$2 = /*#__PURE__*/React$5.forwardRef(function (_ref, ref) {
|
|
|
20231
20231
|
});
|
|
20232
20232
|
Input$2.displayName = "Input";
|
|
20233
20233
|
|
|
20234
|
-
var _excluded$o = ["keyName", "className"];
|
|
20234
|
+
var _excluded$o = ["keyName", "className", "tooltipProps"];
|
|
20235
20235
|
var Kbd = function Kbd(_ref) {
|
|
20236
20236
|
var keyName = _ref.keyName,
|
|
20237
20237
|
className = _ref.className,
|
|
20238
|
+
tooltipProps = _ref.tooltipProps,
|
|
20238
20239
|
otherProps = _objectWithoutProperties$1(_ref, _excluded$o);
|
|
20239
|
-
return /*#__PURE__*/React__default["default"].createElement(
|
|
20240
|
+
return /*#__PURE__*/React__default["default"].createElement(Tooltip, _extends$4({
|
|
20241
|
+
disabled: !tooltipProps
|
|
20242
|
+
}, tooltipProps), /*#__PURE__*/React__default["default"].createElement("span", _extends$4({
|
|
20240
20243
|
className: classnames$1(["neeto-ui-kbd", className])
|
|
20241
|
-
}, otherProps), keyName);
|
|
20244
|
+
}, otherProps), keyName));
|
|
20242
20245
|
};
|
|
20243
20246
|
|
|
20244
20247
|
function _arrayWithoutHoles$1(arr) {
|