import { IconProps, Text, Flex, VStack } from '@chakra-ui/react' import React, { useState } from 'react' type FeatureCardProps = { Icon: (props: IconProps) => JSX.Element title: string content: string } export const FeatureCard = ({ Icon, title, content }: FeatureCardProps) => { const [isHovered, setIsHovered] = useState(false) return ( setIsHovered(true)} onMouseLeave={() => setIsHovered(false)} > {title} {content} ) }