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

17 lines
447 B
TypeScript

import * as React from "react";
export interface StatusDotProps {
/** `live` auto-pulses in accent; others are static. */
status?: "live" | "ok" | "warn" | "error" | "idle";
/** Force the pulsing ring on any status. */
pulse?: boolean;
size?: number;
label?: string;
style?: React.CSSProperties;
}
/**
* Small colored status dot; pulses for live/on-air channels.
*/
export function StatusDot(props: StatusDotProps): JSX.Element;