mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
24 lines
534 B
TypeScript
24 lines
534 B
TypeScript
|
import React from 'react';
|
||
|
import { FloatButton } from 'antd';
|
||
|
import { FileTextOutlined } from '@ant-design/icons';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<FloatButton
|
||
|
icon={<FileTextOutlined />}
|
||
|
description="HELP INFO"
|
||
|
shape="square"
|
||
|
style={{ right: 24 }}
|
||
|
/>
|
||
|
<FloatButton description="HELP INFO" shape="square" style={{ right: 94 }} />
|
||
|
<FloatButton
|
||
|
icon={<FileTextOutlined />}
|
||
|
description="HELP"
|
||
|
shape="square"
|
||
|
style={{ right: 164 }}
|
||
|
/>
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|