d13100ebf3
Update draft releases / main (push) Has been cancelled
Build and push docs image / build-image (push) Has been cancelled
Build Web Application / build-web (macos-latest) (push) Has been cancelled
Build Web Application / build-web (ubuntu-latest) (push) Has been cancelled
Python Code Quality Checks / build (push) Has been cancelled
Test Python / test-python (macos-latest, 3.10) (push) Has been cancelled
Test Python / test-python (macos-latest, 3.11) (push) Has been cancelled
Test Python / test-python (ubuntu-latest, 3.10) (push) Has been cancelled
Test Python / test-python (ubuntu-latest, 3.11) (push) Has been cancelled
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;
|