mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
Merge pull request #5609 from mitchelldemler/Fix-tabs-type-definitions
Added type for tabs click events
This commit is contained in:
commit
0c63deeefb
@ -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