kui-basic 1.1.168 → 1.1.170

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.
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
- import { SyntheticEvent, ReactNode } from 'react';
2
+ import { SyntheticEvent, ReactNode, ComponentType } from 'react';
3
3
 
4
- type TabChangeHandlerType = (
5
- e: SyntheticEvent<HTMLButtonElement>,
6
- value: number
4
+ type TabChangeHandlerType = (
5
+ e: SyntheticEvent<HTMLButtonElement>,
6
+ value: number
7
7
  ) => void
8
8
 
9
9
  type TabsIndicatorPositions = "bottom" | "top"
@@ -25,6 +25,7 @@ interface TabsPanelProps
25
25
  endComponent?: ReactNode
26
26
  navigate?: (state: string) => void
27
27
  tabsPanelId?: string
28
+ renderTabWrapper?: (tab: string) => ComponentType<{ children: ReactNode }>
28
29
  }
29
30
 
30
31
  type TabsPanelType = (props: TabsPanelProps) => React.ReactElement