UNPKG

@magicbell/magicbell-react

Version:

React components for building a notification inbox for your app

14 lines (13 loc) 395 B
export interface Props { count: number; } /** * Badge for the bell. Fetches the notifications to get the number of unseen * notifications, and displays a badge if there are any. * * It must be wrapped in a {@link MagicBellThemeProvider}. * * @example * <BellBadge count={3} /> */ export default function BellBadge({ count }: Props): import("@emotion/react/jsx-runtime").JSX.Element;