@sebgroup/green-react 2.6.0 → 2.6.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.esm.js +3 -1
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4484,7 +4484,9 @@ const Link = _a => {
|
|
|
4484
4484
|
role
|
|
4485
4485
|
} = _a,
|
|
4486
4486
|
otherProps = __rest(_a, ["button", "children", "className", "role"]);
|
|
4487
|
-
const buttonClassName = classNames(className,
|
|
4487
|
+
const buttonClassName = classNames(className, {
|
|
4488
|
+
"button": button
|
|
4489
|
+
}, button);
|
|
4488
4490
|
return jsx("a", Object.assign({
|
|
4489
4491
|
className: buttonClassName,
|
|
4490
4492
|
role: button ? 'button' : role
|