UNPKG

@magicbell/magicbell-react

Version:

React components for building a notification inbox for your app

15 lines (14 loc) 458 B
import { ReactNode } from 'react'; export interface Props { children: ReactNode; } /** * Header for the notification inbox. It renders a "Mark All Read" button, * which invokes the `onAllRead` callback. * * The component must be wrapped in a {@link MagicBellThemeProvider} component. * * @example * <StyledHeader>Title</StyledHeader> */ export default function StyledHeader({ children }: Props): import("@emotion/react/jsx-runtime").JSX.Element;