kui-basic 1.1.246 → 1.1.248
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 +3 -3
- package/index.js +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -681,7 +681,7 @@ declare const LinearProgress: LinearProgressType
|
|
|
681
681
|
|
|
682
682
|
type TabChangeHandlerType = (
|
|
683
683
|
e: SyntheticEvent<HTMLButtonElement>,
|
|
684
|
-
value: number
|
|
684
|
+
value: number | string
|
|
685
685
|
) => void
|
|
686
686
|
|
|
687
687
|
interface TabProps
|
|
@@ -704,7 +704,7 @@ type TabType = (props: TabProps) => React.ReactElement
|
|
|
704
704
|
|
|
705
705
|
declare const Tab: TabType
|
|
706
706
|
|
|
707
|
-
type TabsIndicatorPositions = "bottom" | "top"
|
|
707
|
+
type TabsIndicatorPositions = "bottom" | "top" | "left" | "right"
|
|
708
708
|
|
|
709
709
|
interface TabsProps
|
|
710
710
|
extends Omit<
|
|
@@ -714,7 +714,7 @@ interface TabsProps
|
|
|
714
714
|
>,
|
|
715
715
|
"onChange"
|
|
716
716
|
> {
|
|
717
|
-
value: number
|
|
717
|
+
value: number | string
|
|
718
718
|
onChange?: TabChangeHandlerType
|
|
719
719
|
indicatorPos?: TabsIndicatorPositions
|
|
720
720
|
}
|