@medalsocial/meda
Version:
Shared Meda UI shell and runtime package.
13 lines (12 loc) • 561 B
TypeScript
import type { ComponentPropsWithoutRef } from 'react';
export type StatusPillTone = 'neutral' | 'info' | 'success' | 'warning' | 'danger';
export type StatusPillSize = 'sm' | 'md';
export interface StatusPillProps extends ComponentPropsWithoutRef<'span'> {
tone?: StatusPillTone;
size?: StatusPillSize;
/**
* Show a leading dot. Defaults to true; pass `false` to hide.
*/
dot?: boolean;
}
export declare function StatusPill({ tone, size, dot, className, children, ...props }: StatusPillProps): import("react/jsx-runtime").JSX.Element;