@unicity/design-system
Version:
A comprehensive React component library built on Material-UI with advanced theming capabilities including neumorphism design support
34 lines • 836 B
TypeScript
import React from 'react';
import { BadgeProps as MuiBadgeProps } from '@mui/material';
export interface BadgeProps extends MuiBadgeProps {
/**
* The content rendered within the badge
*/
badgeContent?: React.ReactNode;
/**
* The color of the badge
*/
color?: 'primary' | 'secondary' | 'success' | 'error' | 'warning' | 'info' | 'default';
/**
* Whether the badge should pulse
*/
pulse?: boolean;
/**
* Whether the badge should be invisible
*/
invisible?: boolean;
/**
* Maximum count to show
*/
max?: number;
/**
* Whether to show zero
*/
showZero?: boolean;
/**
* The variant of the badge
*/
variant?: 'standard' | 'dot';
}
export declare const Badge: React.FC<BadgeProps>;
//# sourceMappingURL=Badge.d.ts.map