tm-reuseable-components
Version:
This is a reuseable components lib made for TextMercato
18 lines (17 loc) • 503 B
TypeScript
import { ReactNode } from "react";
export interface BadgeProps {
anchorOrigin?: {
horizontal: 'left' | 'right';
vertical: 'bottom' | 'top';
};
badgeContent?: ReactNode;
children?: ReactNode;
color?: 'default' | 'primary' | 'secondary' | 'error' | 'info' | 'success' | 'warning';
invisible?: boolean;
max?: number;
overlap?: 'circular' | 'rectangular';
showZero?: boolean;
variant?: 'dot' | 'standard';
role?: string;
className?: string;
}