import React from 'react'; import { Space, Switch, Tabs } 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;