UNPKG

digitinary-ui

Version:

Digitinary UI Library

20 lines (19 loc) 554 B
import React from 'react'; import './style.scss'; export type StatusType = 'success' | 'error' | 'warning' | 'info' | 'custom'; export type VariantType = 'filled' | 'basic' | 'link'; interface StatusChipProps { label: string; status?: StatusType; variant?: VariantType; showIndicator?: boolean; className?: string; customStyles?: { bgColor?: string; borderColor?: string; textColor?: string; indicatorColor?: string; }; } declare const Status: React.FC<StatusChipProps>; export default Status;