Comparing version 12.0.0-alpha.0 to 12.0.0-alpha.1
@@ -50,3 +50,3 @@ import type React from 'react'; | ||
onEdit: (type: 'add' | 'remove', info: { | ||
key?: React.Key; | ||
key?: string; | ||
event: React.MouseEvent | React.KeyboardEvent; | ||
@@ -53,0 +53,0 @@ }) => void; |
@@ -19,3 +19,3 @@ import * as React from 'react'; | ||
locale?: TabsLocale; | ||
onTabClick: (activeKey: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
onTabClick: (activeKey: string, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
onTabScroll?: OnTabScroll; | ||
@@ -22,0 +22,0 @@ children?: (node: React.ReactElement) => React.ReactElement; |
@@ -11,3 +11,3 @@ import * as React from 'react'; | ||
tabBarGutter?: number; | ||
activeKey: React.Key; | ||
activeKey: string; | ||
mobile: boolean; | ||
@@ -19,3 +19,3 @@ moreIcon?: React.ReactNode; | ||
removeAriaLabel?: string; | ||
onTabClick: (key: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
onTabClick: (key: string, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
tabMoving?: boolean; | ||
@@ -22,0 +22,0 @@ getPopupContainer?: (node: HTMLElement) => HTMLElement; |
@@ -1,5 +0,4 @@ | ||
import * as React from 'react'; | ||
import type { TabPosition, AnimatedConfig } from '../interface'; | ||
export interface TabPanelListProps { | ||
activeKey: React.Key; | ||
activeKey: string; | ||
id: string; | ||
@@ -6,0 +5,0 @@ rtl: boolean; |
@@ -50,3 +50,3 @@ import type React from 'react'; | ||
onEdit: (type: 'add' | 'remove', info: { | ||
key?: React.Key; | ||
key?: string; | ||
event: React.MouseEvent | React.KeyboardEvent; | ||
@@ -53,0 +53,0 @@ }) => void; |
@@ -19,3 +19,3 @@ import * as React from 'react'; | ||
locale?: TabsLocale; | ||
onTabClick: (activeKey: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
onTabClick: (activeKey: string, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
onTabScroll?: OnTabScroll; | ||
@@ -22,0 +22,0 @@ children?: (node: React.ReactElement) => React.ReactElement; |
@@ -11,3 +11,3 @@ import * as React from 'react'; | ||
tabBarGutter?: number; | ||
activeKey: React.Key; | ||
activeKey: string; | ||
mobile: boolean; | ||
@@ -19,3 +19,3 @@ moreIcon?: React.ReactNode; | ||
removeAriaLabel?: string; | ||
onTabClick: (key: React.Key, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
onTabClick: (key: string, e: React.MouseEvent | React.KeyboardEvent) => void; | ||
tabMoving?: boolean; | ||
@@ -22,0 +22,0 @@ getPopupContainer?: (node: HTMLElement) => HTMLElement; |
@@ -1,5 +0,4 @@ | ||
import * as React from 'react'; | ||
import type { TabPosition, AnimatedConfig } from '../interface'; | ||
export interface TabPanelListProps { | ||
activeKey: React.Key; | ||
activeKey: string; | ||
id: string; | ||
@@ -6,0 +5,0 @@ rtl: boolean; |
{ | ||
"name": "rc-tabs", | ||
"version": "12.0.0-alpha.0", | ||
"version": "12.0.0-alpha.1", | ||
"description": "tabs ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
151168
3513