import { Flex, forwardRef, Heading, HeadingProps, Text, } from '@chakra-ui/react'; type TileInfoProps = HeadingProps & { heading: string; info: string; width?: number; }; export const TileInfo = forwardRef( ({ heading, info, width = 250, ...headingProps }, ref) => ( {heading} {info} ) );