update pay function
This commit is contained in:
43
boilerplate-chakra-pro-main/components/menu/ItemContent.tsx
Normal file
43
boilerplate-chakra-pro-main/components/menu/ItemContent.tsx
Normal file
@@ -0,0 +1,43 @@
|
||||
// chakra imports
|
||||
import { Icon, Flex, Text, useColorModeValue } from '@chakra-ui/react';
|
||||
import { MdUpgrade } from 'react-icons/md';
|
||||
|
||||
export function ItemContent(props: { info: string }) {
|
||||
const textColor = useColorModeValue('navy.700', 'white');
|
||||
return (
|
||||
<>
|
||||
<Flex
|
||||
justify="center"
|
||||
align="center"
|
||||
borderRadius="16px"
|
||||
minH={{ base: '60px', md: '70px' }}
|
||||
h={{ base: '60px', md: '70px' }}
|
||||
minW={{ base: '60px', md: '70px' }}
|
||||
w={{ base: '60px', md: '70px' }}
|
||||
me="14px"
|
||||
bgGradient="linear(to-b, brand.400, brand.600)"
|
||||
>
|
||||
<Icon as={MdUpgrade} color="white" w={8} h={14} />
|
||||
</Flex>
|
||||
<Flex flexDirection="column">
|
||||
<Text
|
||||
mb="5px"
|
||||
fontWeight="bold"
|
||||
color={textColor}
|
||||
fontSize={{ base: 'md', md: 'md' }}
|
||||
>
|
||||
New Update: {props.info}
|
||||
</Text>
|
||||
<Flex alignItems="center">
|
||||
<Text
|
||||
fontSize={{ base: 'sm', md: 'sm' }}
|
||||
lineHeight="100%"
|
||||
color={textColor}
|
||||
>
|
||||
A new update for your downloaded item is available!
|
||||
</Text>
|
||||
</Flex>
|
||||
</Flex>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user