ant-design/components/float-button/demo/basic.tsx
lijianan 55183fa304
type: update FloatButtonProps type with React.DOMAttributes ()
* type: update FloatButtonProps type with React.DOMAttributes

* test: add test
2023-11-30 11:06:41 +08:00

7 lines
169 B
TypeScript

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