import React, { useState } from 'react' import { Tabs, TabsProps } from 'app/components' const tabsData: TabsProps['tabs'] = ([ 1, 2, 3 ]).map(id => ({ id: `${id}`, content: `content ${id}`, label: `label ${id}`, prerender: id == 3 })) const Demo = () => { const [ activeTab, setActiveTab ] = useState(tabsData[0].id) return <>