API Reference@helix-hq/design-system

components/badge

Public API of @helix-hq/design-system/components/badge.

The complete public surface of @helix-hq/design-system/components/badge, generated from the published type declarations. Anything absent here is not part of the package's contract.

import { ClassProp } from 'class-variance-authority/types';
import * as React_2 from 'react';
import { VariantProps } from 'class-variance-authority';

// @public (undocumented)
export const Badge: (input: React_2.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
    asChild?: boolean;
}) => React_2.JSX.Element;

// @public (undocumented)
export const badgeVariants: (props?: ({
    variant?: "default" | "destructive" | "ghost" | "link" | "outline" | "secondary" | null | undefined;
} & ClassProp) | undefined) => string;

// (No @packageDocumentation comment for this package)

On this page

No Headings