* 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
16 lines
304 B
TypeScript
16 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,
|
|
);
|
|
}
|