/** @jsxImportSource @emotion/react */
import { css } from '@emotion/react';
import { useBell } from '@magicbell/react-headless';
import { isNil } from 'ramda';
import { useMagicBellContext } from '../../context/MagicBellContext.js';
import { useTheme } from '../../context/MagicBellThemeContext.js';
import { cleanslate } from '../Styled/index.js';
import BellBadge from './BellBadge.js';
import BellIcon from './BellIcon.js';
export interface Props {
Icon?: JSX.Element;
Badge?: (props: { count: number }) => JSX.Element | null;
onClick: () => void;
storeId?: string;
counter?: 'unread' | 'unseen';
}
/**
* Bell. Renders the number of unseen notifications as well. When the bell is
* clicked, all notifications are marked as seen.
*
* It must be wrapped in a {@link MagicBellThemeProvider} component.
*
* @example
*