import * as React from "react" import type { ComponentStory, ComponentMeta } from "@storybook/react" import { Tabs } from "../src" import { useState } from "react" import { FullScreenIcon } from "../src/public/icons/FullScreen" const TabPane = Tabs.TabPane export default { title: "lib/Tabs", component: Tabs, subcomponents: { TabPane } } as ComponentMeta const Template: ComponentStory = args => { const [currentKey, setCurrentKey] = useState() return ( <> tab A } > A B C ) } const VerticalTemplate: ComponentStory = args => { const [currentKey, setCurrentKey] = useState() return ( <> B C ) } export const Normal = Template.bind({}) export const VerticalNormal = VerticalTemplate.bind({})