UNPKG

air-command-ui-library

Version:

A React component library for Air Command System with Storybook

12 lines (11 loc) 428 B
import React from 'react'; export type StatusType = 'friendly' | 'hostile' | 'neutral' | 'unknown'; export type StatusBadgeSize = 'small' | 'medium' | 'large'; export type StatusBadgeVariant = 'dot' | 'background'; export interface StatusBadgeProps extends React.HTMLAttributes<HTMLSpanElement> { status: StatusType; text?: string; size?: StatusBadgeSize; variant?: StatusBadgeVariant; className?: string; }