Browse Source

Added type for click event

pull/5609/head
mitchell.demler 8 years ago
parent
commit
1febbbc2c9
  1. 4
      components/tabs/index.tsx

4
components/tabs/index.tsx

@ -17,8 +17,8 @@ export interface TabsProps {
hideAdd?: boolean; hideAdd?: boolean;
onChange?: (activeKey: string) => void; onChange?: (activeKey: string) => void;
onTabClick?: Function; onTabClick?: Function;
onPrevClick?: (e) => void; onPrevClick?: (e: React.MouseEventHandler<any>) => void;
onNextClick?: (e) => void; onNextClick?: (e: React.MouseEventHandler<any>) => void;
tabBarExtraContent?: React.ReactNode | null; tabBarExtraContent?: React.ReactNode | null;
tabBarStyle?: React.CSSProperties; tabBarStyle?: React.CSSProperties;
type?: TabsType; type?: TabsType;

Loading…
Cancel
Save