import { HStack, Icon, Stack, Text } from "@chakra-ui/react" import { LuArrowUpRight } from "react-icons/lu" import { ResourceIcon } from "../resource-icon" interface ResourceCardProps { type: string title: string url: string description?: string } export const ResourceCard = (props: ResourceCardProps) => { const { type, title, url, description, ...rest } = props return ( {title} {description && ( {description} )} ) }