@magicbell/magicbell-react
Version:
React components for building a notification inbox for your app
9 lines (8 loc) • 479 B
TypeScript
import { ComponentProps } from 'react';
import CategoryPreferences from './CategoryPreferences.js';
export type PreferencesCategoriesProps = {
channels?: Array<string>;
categories?: Array<string>;
onChange?: ComponentProps<typeof CategoryPreferences>['onChange'];
};
export default function PreferencesCategories({ channels: selectedChannels, categories: selectedCategories, onChange, }: PreferencesCategoriesProps): import("@emotion/react/jsx-runtime").JSX.Element;