mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +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;
|