mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: add loading to ChatContainer and set font family to inter and add tooltip to Form.Item and download documents on the document list page (#136)
* feat: download documents on the document list page * feat: add tooltip to Form.Item * feat: set font family to inter * feat: add loading to ChatContainer
This commit is contained in:
@ -1,6 +1,16 @@
|
||||
import { ConfigProvider } from 'antd';
|
||||
import React, { ReactNode } from 'react';
|
||||
import { Inspector } from 'react-dev-inspector';
|
||||
|
||||
export function rootContainer(container: ReactNode) {
|
||||
return React.createElement(Inspector, null, container);
|
||||
return React.createElement(
|
||||
ConfigProvider,
|
||||
{
|
||||
theme: {
|
||||
token: {
|
||||
fontFamily: 'Inter',
|
||||
},
|
||||
},
|
||||
},
|
||||
container,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user