@startlibs/components 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -1226,7 +1226,8 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
1226
1226
  boundMargin = _ref$boundMargin === void 0 ? 6 : _ref$boundMargin,
1227
1227
  respectBounds = _ref.respectBounds,
1228
1228
  respectOffsetScroll = _ref.respectOffsetScroll,
1229
- on = _ref.on;
1229
+ on = _ref.on,
1230
+ placeholderAs = _ref.placeholderAs;
1230
1231
  var placeholder = useRef();
1231
1232
  var arrowRef = useEnsureRef(arrowRefOpt);
1232
1233
  var _useState = useState(),
@@ -1433,6 +1434,7 @@ var usePositioning = function usePositioning(element, _ref, arrowRefOpt) {
1433
1434
  ref: arrowRef
1434
1435
  });
1435
1436
  var placeholderElement = /*#__PURE__*/React.createElement(Placeholder, {
1437
+ as: placeholderAs,
1436
1438
  ref: placeholder
1437
1439
  });
1438
1440
  return [positionInfo, placeholderElement, arrowElement];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startlibs/components",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Startlibs Components",
5
5
  "main": "lib/index.js",
6
6
  "sideEffects": false,