Added type for click event

This commit is contained in:
mitchell.demler 2017-04-04 16:34:05 +12:00
parent 1d6ee39baa
commit 1febbbc2c9

View File

@ -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;