@hhgtech/hhg-components
Version:
Hello Health Group common components
18 lines (17 loc) • 596 B
TypeScript
import React from 'react';
export type NotificationType = 'dot' | 'numeric';
export type NotificationSize = 'medium' | 'large';
export type NotificationColor = 'primary' | 'error';
export type Props = {
icon: JSX.Element;
type: NotificationType;
size?: NotificationSize;
color?: NotificationColor;
className?: string;
amount?: number | string | JSX.Element;
};
/**
* @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
*/
declare const Badge: ({ amount, type, size, color, icon, className, }: Props) => React.JSX.Element;
export { Badge };