mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-29 01:40:51 +00:00
support mermaid
This commit is contained in:
17
client/src/components/Markdown/Loading.tsx
Normal file
17
client/src/components/Markdown/Loading.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React, { memo } from 'react';
|
||||
import { Box } from '@chakra-ui/react';
|
||||
|
||||
const Loading = () => {
|
||||
return (
|
||||
<Box
|
||||
w={'100%'}
|
||||
h={'80px'}
|
||||
backgroundImage={'url("/imgs/loading.gif")'}
|
||||
backgroundSize={'contain'}
|
||||
backgroundRepeat={'no-repeat'}
|
||||
backgroundPosition={'center'}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
export default memo(Loading);
|
Reference in New Issue
Block a user