kui-basic 1.1.265 → 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/cjs/index.js +4 -4
- package/index.d.ts +11 -2
- package/index.js +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -338,6 +338,7 @@ interface InputProps
|
|
|
338
338
|
isRequired?: boolean
|
|
339
339
|
hint?: string | ReactNode
|
|
340
340
|
withCounter?: boolean
|
|
341
|
+
onContainerClick?: () => void
|
|
341
342
|
}
|
|
342
343
|
|
|
343
344
|
type InputType = (props: InputProps) => React.ReactElement
|
|
@@ -696,7 +697,11 @@ interface TabProps
|
|
|
696
697
|
value?: number
|
|
697
698
|
label: string | ReactNode
|
|
698
699
|
onChange?: TabChangeHandlerType
|
|
699
|
-
renderTabWrapper?: (
|
|
700
|
+
renderTabWrapper?: (
|
|
701
|
+
tab: string,
|
|
702
|
+
children: ReactElement,
|
|
703
|
+
value: number
|
|
704
|
+
) => ReactElement
|
|
700
705
|
}
|
|
701
706
|
|
|
702
707
|
type TabType = (props: TabProps) => React.ReactElement
|
|
@@ -740,7 +745,11 @@ interface TabsPanelProps
|
|
|
740
745
|
endComponent?: ReactNode
|
|
741
746
|
navigate?: (state: string) => void
|
|
742
747
|
tabsPanelId?: string
|
|
743
|
-
renderTabWrapper?: (
|
|
748
|
+
renderTabWrapper?: (
|
|
749
|
+
tab: string,
|
|
750
|
+
children: ReactElement,
|
|
751
|
+
value: number
|
|
752
|
+
) => ReactElement
|
|
744
753
|
firstActiveTab?: number
|
|
745
754
|
goToFirstActiveTab?: () => void
|
|
746
755
|
}
|