import Card from '@/components/card/Card'; import { Box, Flex, Text, useColorModeValue } from '@chakra-ui/react'; const Statistics = (props: { icon?: JSX.Element; title: string; value: number | string; endContent?: JSX.Element; }) => { const { icon, title, value, endContent } = props; const textColorSecondary = useColorModeValue('gray.700', 'white'); const textColor = useColorModeValue('#120F43', 'white'); return ( {icon} {title} {value} {endContent} ); }; export default Statistics;