mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Added type for click event
This commit is contained in:
parent
1d6ee39baa
commit
1febbbc2c9
@ -17,8 +17,8 @@ export interface TabsProps {
|
||||
hideAdd?: boolean;
|
||||
onChange?: (activeKey: string) => void;
|
||||
onTabClick?: Function;
|
||||
onPrevClick?: (e) => void;
|
||||
onNextClick?: (e) => void;
|
||||
onPrevClick?: (e: React.MouseEventHandler<any>) => void;
|
||||
onNextClick?: (e: React.MouseEventHandler<any>) => void;
|
||||
tabBarExtraContent?: React.ReactNode | null;
|
||||
tabBarStyle?: React.CSSProperties;
|
||||
type?: TabsType;
|
||||
|
Loading…
Reference in New Issue
Block a user