@wandelbots/wandelbots-js-react-components 2.54.2-pr.bugfix-dont-leak-dom-elements.402.34851fb → 2.54.2-pr.fix-pre-commit-nvm.401.4428254
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/dist/components/TabBar.d.ts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/TabBar.tsx +5 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wandelbots/wandelbots-js-react-components",
|
|
3
|
-
"version": "2.54.2-pr.
|
|
3
|
+
"version": "2.54.2-pr.fix-pre-commit-nvm.401.4428254",
|
|
4
4
|
"description": "React UI toolkit for building applications on top of the Wandelbots platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -194,7 +194,6 @@ export const TabBar = externalizeComponent(
|
|
|
194
194
|
|
|
195
195
|
const tab = (
|
|
196
196
|
<Tab
|
|
197
|
-
key={item.id}
|
|
198
197
|
label={item.label}
|
|
199
198
|
icon={item.icon}
|
|
200
199
|
iconPosition="start"
|
|
@@ -234,7 +233,11 @@ export const TabBar = externalizeComponent(
|
|
|
234
233
|
)
|
|
235
234
|
|
|
236
235
|
if (!showBadge) {
|
|
237
|
-
return
|
|
236
|
+
return (
|
|
237
|
+
<Box key={item.id} sx={{ display: "inline-flex" }}>
|
|
238
|
+
{tab}
|
|
239
|
+
</Box>
|
|
240
|
+
)
|
|
238
241
|
}
|
|
239
242
|
|
|
240
243
|
return (
|