@sebgroup/green-react 1.10.0 → 1.10.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.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -3908,7 +3908,7 @@ const Tabs = ({
3908
3908
  role: "tabpanel",
3909
3909
  "aria-hidden": selectedTab !== index
3910
3910
  }, {
3911
- children: tab.props.children
3911
+ children: selectedTab === index && tab.props.children
3912
3912
  }), index))]
3913
3913
  })]
3914
3914
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebgroup/green-react",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "peerDependencies": {
5
5
  "react": "^17 || ^18",
6
6
  "react-dom": "^17 || ^18"