import React from 'react'; import { Tabs, Switch, Space } from 'antd'; const App: React.FC = () => { const [inkBar, setInkBar] = React.useState(true); const [tabPane, setTabPane] = React.useState(true); return ( <> setInkBar(!inkBar)} /> setTabPane(!tabPane)} /> ); }; export default App;