import { Tabs } from 'antd'; import { styled } from 'flipper'; import { theme } from 'flipper-plugin'; import * as React from 'react'; import { LinkingTester } from './LinkingTester'; import { Logs } from './Logs'; import { useStore } from './useStore'; const { TabPane } = Tabs; export function Component() { const store = useStore(); const [activeKey, setActiveKey] = React.useState('logs'); return ( Logs} key="logs"> Linking} key="linking"> ); } const TabLabel = styled.span({ padding: `0 ${theme.space.large}px`, }); const TabsContent = styled(TabPane)({ height: 'calc(100vh - 80px)', }); export * from './plugin';