misc.stories.js 427 B

1234567891011121314151617
  1. import MiscSection from '../../js/features/settings/components/misc-section'
  2. import { UserProvider } from '../../js/shared/context/user-context'
  3. export const Section = args => {
  4. window.metaAttributesCache.set('ol-user', { betaProgram: true })
  5. return (
  6. <UserProvider>
  7. <MiscSection {...args} />
  8. </UserProvider>
  9. )
  10. }
  11. export default {
  12. title: 'Account Settings / Misc / Section',
  13. component: MiscSection,
  14. }