@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.
Files changed (2) hide show
  1. package/index.esm.js +3 -1
  2. 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, 'button', typeof button === 'string' && button) || undefined;
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebgroup/green-react",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "peerDependencies": {
5
5
  "react": "^17 || ^18",
6
6
  "react-dom": "^17 || ^18"