import { Badge, badgeVariants } from '@hanzo/ui'
A filled default, a quieter secondary, a destructive, and an outline.
export function Variants() {return (<XStack flexWrap="wrap" gap="$3" items="center"><Badge>Default</Badge><Badge variant="secondary">Secondary</Badge><Badge variant="destructive">Destructive</Badge><Badge variant="outline">Outline</Badge><Badge variant="ghost">Ghost</Badge><Badge variant="link">Link</Badge></XStack>)}
`asChild` puts the badge's styling on the anchor you pass.
export function AsChild() {return (<Badge asChild variant="outline"><a href="https://www.npmjs.com/package/@hanzo/ui">@hanzo/ui on npm</a></Badge>)}
export type BadgeVariant =| 'default'| 'secondary'| 'destructive'| 'outline'| 'ghost'| 'link'| 'inputAdornment'| 'tags'
export type BadgeProps = React.ComponentProps<'span'> & {variant?: BadgeVariant | nullasChild?: boolean}