import * as React from "react" import { storiesOf } from "@storybook/react" import { TabNavigation } from "../TabNavigation" import { withState } from "recompose" const NavWithState = withState("activeTabIndex", "onSelectTab", 1)((props: any) => (

Page{props.activeTabIndex}

)) as any storiesOf("TabNavigation", module) .add("Basic", () => { return ( ) })