This commit is contained in:
Archer
2023-03-15 21:36:56 +08:00
parent be69cfb966
commit 7529f51e72
7 changed files with 196 additions and 172 deletions

View File

@@ -0,0 +1,19 @@
import React from 'react';
import { Box, Button } from '@chakra-ui/react';
import { AddIcon } from '@chakra-ui/icons';
const SlideBar = ({ resetChat }: { resetChat: () => void }) => {
return (
<Box flex={'0 0 250px'} p={3} backgroundColor={'blackAlpha.800'} color={'white'}>
{/* 新对话 */}
<Button w={'100%'} variant={'white'} h={'40px'} leftIcon={<AddIcon />} onClick={resetChat}>
</Button>
{/* 我的模型 */}
{/* 历史记录 */}
</Box>
);
};
export default SlideBar;