Skip to content

Commit

Permalink
fix: tabs key
Browse files Browse the repository at this point in the history
  • Loading branch information
linjinze999 committed May 14, 2024
1 parent 8cb9a6c commit eb3e2a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/hippy_ui_react/src/components/Tabs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ export class Tabs extends Component<TabsProps, TabsState> {
const textStyle = pickTextStyle(tabStyle);
this.itemStyleMap[index] = tabStyle;
const tabProps = {
key: index,
...renderTabProps,
style: tabStyle,
onLayout: (e) => {
Expand Down

0 comments on commit eb3e2a0

Please sign in to comment.