Files
ersatztv/design-system/components/data-display/Badge.d.ts
T
2026-07-02 07:37:00 +02:00

18 lines
497 B
TypeScript

import * as React from "react";
export interface BadgeProps {
children?: React.ReactNode;
/** Semantic color. `accent` doubles as the live/on-air tone. */
tone?: "neutral" | "accent" | "ok" | "warn" | "error";
/** Filled instead of tinted-soft. */
solid?: boolean;
/** Leading status dot. */
dot?: boolean;
style?: React.CSSProperties;
}
/**
* Compact status/label badge — streaming mode, HLS/MPEG-TS, health status.
*/
export function Badge(props: BadgeProps): JSX.Element;