import { CommentOutlined, CustomerServiceOutlined } from '@ant-design/icons'; import React, { useState } from 'react'; import { FloatButton, Switch } from 'antd'; const App: React.FC = () => { const [open, setOpen] = useState(true); const onChange = (checked: boolean) => { setOpen(checked); }; return ( <> } > } /> ); }; export default App;