dibk-design 3.2.3 → 3.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.
@@ -94,7 +94,7 @@ var Button = function Button(props) {
94
94
  className: className,
95
95
  style: themeStyle
96
96
  }), props.content || props.children);
97
- } else if ((props === null || props === void 0 || (_props$children = props.children) === null || _props$children === void 0 || (_props$children = _props$children.type) === null || _props$children === void 0 ? void 0 : _props$children.displayName) === "Link") {
97
+ } else if ((props === null || props === void 0 || (_props$children = props.children) === null || _props$children === void 0 || (_props$children = _props$children.type) === null || _props$children === void 0 || (_props$children = _props$children.render) === null || _props$children === void 0 ? void 0 : _props$children.name) === "LinkWithRef") {
98
98
  return _react.default.createElement(_react.Fragment, null, renderReactLinkElements(_react.default.Children.toArray(props.children)));
99
99
  } else {
100
100
  return _react.default.createElement("button", _extends({}, buttonProps, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dibk-design",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "files": [