mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-25 00:08:27 +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;
|