@magicbell/magicbell-react
Version:
React components for building a notification inbox for your app
12 lines (11 loc) • 309 B
TypeScript
export interface Props {
count: number;
}
/**
* Badge to display the number of unseen notifications. The color of the badge
* can be customized through the theme context.
*
* @example
* <Badge />
*/
export default function Badge({ count }: Props): import("@emotion/react/jsx-runtime").JSX.Element;