support mermaid

This commit is contained in:
archer
2023-06-11 16:32:06 +08:00
parent d057d20c17
commit d0c3d60751
11 changed files with 914 additions and 119 deletions

View 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);