mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-28 14:27:20 +00:00
16 lines
520 B
TypeScript
16 lines
520 B
TypeScript
import { ReadOutlined, SmileOutlined } from '@ant-design/icons';
|
|
import { FloatButton } from 'antd';
|
|
import React from 'react';
|
|
|
|
const FloatHelper: React.FC = () => {
|
|
return (
|
|
<div className='fixed right-4 md:right-6 bottom-[240px] md:bottom-[220px] z-[997]'>
|
|
<FloatButton.Group trigger='hover' icon={<SmileOutlined />}>
|
|
<FloatButton icon={<ReadOutlined />} href='http://docs.dbgpt.cn' target='_blank' tooltip='Documents' />
|
|
</FloatButton.Group>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default FloatHelper;
|