badge
Documentation / ui/badge
BadgeProps
Defined in: app/components/ui/badge.tsx:26
Extends
HTMLAttributes
<HTMLDivElement
>.VariantProps
<typeofbadgeVariants
>
Properties
Property | Type | Inherited from | Defined in |
---|---|---|---|
|
| app/components/ui/badge.tsx:10 |
badgeVariants()
const badgeVariants: (props?: ConfigVariants<{
variant: {
default: string;
destructive: string;
outline: string;
secondary: string;
};
}> & ClassProp) => string;
Defined in: app/components/ui/badge.tsx:6
Parameters
Parameter | Type |
---|---|
|
|
Returns
string
Badge()
function Badge(__namedParameters: BadgeProps): Element;
Defined in: app/components/ui/badge.tsx:30
Parameters
Parameter | Type |
---|---|
|
Returns
Element