Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add/story/indicator #214

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ dist
dist-ssr
*.local
.history
.env
.env
.vscode
11 changes: 11 additions & 0 deletions src/Indicator/Indicator.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,14 @@ Default.args = {
),
item: <Badge color="error" />,
}

export const ResponsiveNotificationBubble: Story<IndicatorProps> = (args) => {
return <Indicator {...args} />
}

ResponsiveNotificationBubble.args = {
children: (
<Avatar src="http://daisyui.com/tailwind-css-component-profile-1@94w.png" />
),
item: <Badge responsive={true} color="success" children={<div>7</div>} />,
}