()
| 54 | } |
| 55 | |
| 56 | const SimpleTabs = () => { |
| 57 | const [activeTab, setActiveTab] = useState('ansub') |
| 58 | |
| 59 | const tabs = [ |
| 60 | { id: 'ansub', label: 'Ansub' }, |
| 61 | { id: 'syntax', label: 'SyntaxUI' }, |
| 62 | ] |
| 63 | |
| 64 | const handleTabClick = (tabId: string) => { |
| 65 | setActiveTab(tabId) |
| 66 | } |
| 67 | |
| 68 | return ( |
| 69 | <div> |
| 70 | <Tabs tabs={tabs} activeTab={activeTab} onTabClick={handleTabClick} /> |
| 71 | </div> |
| 72 | ) |
| 73 | } |
| 74 | |
| 75 | export default SimpleTabs |
nothing calls this directly
no outgoing calls
no test coverage detected