sestek-component 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -443,18 +443,21 @@ export declare interface SidebarProps {
443
443
  onClickItem: (id: string) => void;
444
444
  }
445
445
 
446
- export declare const StatusBadge: ({ text, textColor, icon, rate, tooltipText, tooltipTitle, tooltipPosition, }: StatusBadgeProps) => JSX.Element;
446
+ export declare const StatusBadge: ({ text, textColor, icon, type, rate, tooltipText, tooltipTitle, tooltipPosition, }: StatusBadgeProps) => JSX.Element;
447
447
 
448
448
  export declare interface StatusBadgeProps {
449
449
  text: string;
450
450
  textColor: string;
451
- icon: (size: string) => ReactNode;
451
+ icon?: (size: string) => ReactNode;
452
+ type?: StatusBadgeType;
452
453
  rate?: 1 | 2 | 3;
453
454
  tooltipText?: string;
454
455
  tooltipTitle?: string;
455
456
  tooltipPosition?: 'top' | 'bottom' | 'left' | 'right';
456
457
  }
457
458
 
459
+ declare type StatusBadgeType = 'not-enrolled' | 'new-user' | 'available' | 'cancelled' | 'failed' | 'enrolled' | 'accept' | 'black-list' | 'suspended';
460
+
458
461
  export declare const Support: ({ title, className, tabs, onClickClose, }: SupportProps) => JSX.Element;
459
462
 
460
463
  export declare interface SupportProps {