@magicbell/magicbell-react
Version:
React components for building a notification inbox for your app
12 lines (11 loc) • 639 B
TypeScript
/** @jsxImportSource @emotion/react */
import { ReactElement } from 'react';
import { PreferencesCategoriesProps } from '../../UserPreferencesPanel/PreferencesCategories.js';
import { NotificationInboxProps, SetViewHandler } from '../NotificationInbox.js';
type PreferencesViewProps = {
setView: SetViewHandler;
layout: NonNullable<NotificationInboxProps['layout']>;
NotificationPreferences?: (props: PreferencesCategoriesProps) => ReactElement | null;
};
export default function PreferencesView({ layout, setView, NotificationPreferences, }: PreferencesViewProps): import("@emotion/react/jsx-runtime").JSX.Element;
export {};