update pay function

This commit is contained in:
2025-11-22 11:41:56 +08:00
parent a4b634abff
commit d8e4c737c5
397 changed files with 19572 additions and 9326 deletions

View File

@@ -0,0 +1,26 @@
import { Flex, useColorModeValue } from '@chakra-ui/react';
import ReactMarkdown from 'react-markdown';
export default function MessageBox(props: { output: string }) {
const { output } = props;
const textColor = useColorModeValue('#120F43', 'white');
const borderColor = useColorModeValue('gray.200', 'whiteAlpha.200');
return (
<Flex
w="100%"
p="15px 20px"
border="1px solid"
color={textColor}
borderColor={borderColor}
borderRadius="10px"
minH="564px"
fontSize="md"
fontWeight="500"
mb="28px"
>
<ReactMarkdown className="font-medium">
{output ? output : 'Your generated response will appear here...'}
</ReactMarkdown>
</Flex>
);
}