From 2d6f58d479f0b3c31bfd02639154641d543dbe99 Mon Sep 17 00:00:00 2001 From: RadoslavDimchev Date: Thu, 11 Apr 2024 16:09:59 +0300 Subject: [PATCH] feat(notification-badge): create component with story --- .../General/NotificationBadge.stories.tsx | 19 +++++++++++++++++++ src/components/General/NotificationBadge.tsx | 16 ++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 src/components/General/NotificationBadge.stories.tsx create mode 100644 src/components/General/NotificationBadge.tsx diff --git a/src/components/General/NotificationBadge.stories.tsx b/src/components/General/NotificationBadge.stories.tsx new file mode 100644 index 00000000..6483975e --- /dev/null +++ b/src/components/General/NotificationBadge.stories.tsx @@ -0,0 +1,19 @@ +import type { Meta, StoryObj } from '@storybook/react' + +import NotificationBadge from './NotificationBadge' + +const meta = { + title: 'General/NotificationBadge', + component: NotificationBadge, + parameters: { + layout: 'centered', + }, + tags: ['autodocs'], +} satisfies Meta + +export default meta +type Story = StoryObj + +export const Default: Story = { + args: {}, +} diff --git a/src/components/General/NotificationBadge.tsx b/src/components/General/NotificationBadge.tsx new file mode 100644 index 00000000..577a115f --- /dev/null +++ b/src/components/General/NotificationBadge.tsx @@ -0,0 +1,16 @@ +import { NotificationBadgeIcon } from '@status-im/icons' + +const NotificationBadge = () => { + return ( + + ) +} + +export default NotificationBadge