@onehat/ui 0.3.81 → 0.3.82

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onehat/ui",
3
- "version": "0.3.81",
3
+ "version": "0.3.82",
4
4
  "description": "Base UI for OneHat apps",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -186,7 +186,7 @@ function TabBar(props) {
186
186
  }
187
187
  if (useIconButton) {
188
188
  button = <IconButton
189
- key={'tab' + ix}
189
+ key={'tabIconButton' + ix}
190
190
  onPress={() => setCurrentTab(ix)}
191
191
  {...buttonProps}
192
192
  // {...thisButtonProps}
@@ -203,7 +203,7 @@ function TabBar(props) {
203
203
  />;
204
204
  } else {
205
205
  button = <Button
206
- key={'tab' + ix}
206
+ key={'tabButton' + ix}
207
207
  onPress={() => setCurrentTab(ix)}
208
208
  leftIcon={<Icon
209
209
  color={isCurrentTab ? styles.TAB_ACTIVE_ICON_COLOR : styles.TAB_ICON_COLOR}
@@ -232,7 +232,7 @@ function TabBar(props) {
232
232
  >
233
233
  {button}
234
234
  <IconButton
235
- key={'tab' + ix}
235
+ key={'tabXButton' + ix}
236
236
  onPress={() => onTabClose(ix)}
237
237
  icon={Xmark}
238
238
  tooltip="Close Tab"