UNPKG

@uva-glass/component-library

Version:

React components UvA

16 lines (15 loc) 721 B
export type StatusType = 'DRAFT' | 'REJECTED' | 'SUBMITTED' | 'ACTIVE'; export interface VarIndicatorProps { /** Label on the indicator */ label: Record<StatusType, string>; /** Status type 'DRAFT' | 'REJECTED' | 'SUBMITTED' | 'ACTIVE' */ variant?: StatusType; /** Maximum number of steps if variant is 'SUBMITTED' */ maxSteps?: number; /** Current step if variant is 'SUBMITTED' */ currentStep?: number; /** If set shows compact view and opens to the left on hover */ isCompact?: boolean; onClick?: () => void; } export declare const VarIndicator: ({ label, variant, maxSteps, currentStep, isCompact, onClick, }: VarIndicatorProps) => import("react/jsx-runtime").JSX.Element;