kui-basic 1.1.266 → 1.1.267

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/index.d.ts CHANGED
@@ -697,7 +697,11 @@ interface TabProps
697
697
  value?: number
698
698
  label: string | ReactNode
699
699
  onChange?: TabChangeHandlerType
700
- renderTabWrapper?: (tab: string, children: ReactElement) => ReactElement
700
+ renderTabWrapper?: (
701
+ tab: string,
702
+ children: ReactElement,
703
+ value: number
704
+ ) => ReactElement
701
705
  }
702
706
 
703
707
  type TabType = (props: TabProps) => React.ReactElement
@@ -741,7 +745,11 @@ interface TabsPanelProps
741
745
  endComponent?: ReactNode
742
746
  navigate?: (state: string) => void
743
747
  tabsPanelId?: string
744
- renderTabWrapper?: (tab: string, children: ReactElement) => ReactElement
748
+ renderTabWrapper?: (
749
+ tab: string,
750
+ children: ReactElement,
751
+ value: number
752
+ ) => ReactElement
745
753
  firstActiveTab?: number
746
754
  goToFirstActiveTab?: () => void
747
755
  }