mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-11 22:25:41 +08:00
* 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
17 lines
304 B
TypeScript
17 lines
304 B
TypeScript
import { ConfigProvider } from 'antd';
|
|
import React, { ReactNode } from 'react';
|
|
|
|
export function rootContainer(container: ReactNode) {
|
|
return React.createElement(
|
|
ConfigProvider,
|
|
{
|
|
theme: {
|
|
token: {
|
|
fontFamily: 'Inter',
|
|
},
|
|
},
|
|
},
|
|
container,
|
|
);
|
|
}
|