import { Meta } from '@storybook/react'; import React from 'react'; import MagicBellProvider from '../MagicBellProvider'; import PreferencesCategories from './PreferencesCategories'; const Component = ({ apiKey, userEmail, userKey, ...props }) => ( ); const meta: Meta = { component: Component, argTypes: { onChange: { action: 'onChange' }, }, }; export default meta; export const Basic = {}; export const SelectedChannelsOnly = { args: { channels: ['email', 'sms'], }, }; export const SelectedCategoriesOnly = { args: { categories: ['comments'], }, }; export const SelectedChannelsAndCategoriesOnly = { args: { channels: ['email', 'sms'], categories: ['comments'], }, };