import { Badge, Flex, Link, Text } from '@chakra-ui/react'; type GuideListItemProps = { title: string; date: string; isPro?: boolean; }; export function GuideListItem(props: GuideListItemProps) { const { title, date, isPro = false } = props; return ( {title} {isPro && Pro} {date} ); }