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;
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…
Cancel
Save