18 lines
497 B
TypeScript
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;
|