mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-06 05:58:46 +08:00
55183fa304
* type: update FloatButtonProps type with React.DOMAttributes * test: add test
7 lines
169 B
TypeScript
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;
|