import React from 'react'; import { Link, Text, Badge } from '@chakra-ui/react'; type BadgeLinkType = { target: string; badgeText: string; href: string; children: React.ReactNode }; export function BadgeLink(props: BadgeLinkType) { const { target = '_blank', badgeText, href, children } = props; return ( {badgeText} {children} ); }