import React from 'react'; import { FloatButton } from 'antd'; const App: React.FC = () => <FloatButton onClick={() => console.log('onClick')} />; export default App;