Skip to content

Commit

Permalink
fix : NotificationBadge 스토리북 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kangminguu committed Dec 2, 2024
1 parent f54c8ed commit da9d834
Showing 1 changed file with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import type { Meta, StoryObj } from '@storybook/react';

import { MemoryRouter } from 'react-router-dom';
import { NotificationBadge } from './NotificationBadge';

const meta: Meta<typeof NotificationBadge> = {
component: NotificationBadge,
title: 'atoms/NotificationBadge',
tags: ['autodocs'],
argTypes: {}
argTypes: {},
decorators: [
(Story) => (
<MemoryRouter>
<Story />
</MemoryRouter>
)
]
};
export default meta;

Expand Down

0 comments on commit da9d834

Please sign in to comment.