Files
role-user/src/components/status-pill.tsx
T
2026-06-02 14:46:39 +08:00

9 lines
274 B
TypeScript

type StatusPillProps = {
children: React.ReactNode;
tone?: "default" | "success" | "warning" | "danger";
};
export function StatusPill({ children, tone = "default" }: StatusPillProps) {
return <span className={`status-pill status-pill--${tone}`}>{children}</span>;
}