@lumx/react 3.12.1-alpha.0 → 3.12.1-alpha.1
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.js +3 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/link/Link.tsx +1 -1
package/index.js
CHANGED
|
@@ -9137,7 +9137,9 @@ const Link = forwardRef((props, ref) => {
|
|
|
9137
9137
|
}), wrapChildrenIconWithSpaces(/*#__PURE__*/React__default.createElement(React__default.Fragment, null, leftIcon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
9138
9138
|
icon: leftIcon,
|
|
9139
9139
|
className: `${CLASSNAME$K}__left-icon`
|
|
9140
|
-
}), children
|
|
9140
|
+
}), children && /*#__PURE__*/React__default.createElement("span", {
|
|
9141
|
+
className: `${CLASSNAME$K}__content`
|
|
9142
|
+
}, children), rightIcon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
9141
9143
|
icon: rightIcon,
|
|
9142
9144
|
className: `${CLASSNAME$K}__right-icon`
|
|
9143
9145
|
}))));
|