Skip to content

Commit

Permalink
Merge pull request #230 from Erick559/fix/react/BadgeWithCounts
Browse files Browse the repository at this point in the history
BadgeWithCounts / React
  • Loading branch information
cobycloud authored Jan 17, 2025
2 parents a404e55 + 687c637 commit 4aa3c8d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react';
import { Meta, Story } from '@storybook/react';
import BadgeWithCounts from './BadgeWithCounts';
import { Meta, StoryFn } from '@storybook/react';
import BadgeWithCounts, {BadgeWithCountsProps} from './BadgeWithCounts';

export default {
title: 'component/Indicators/BadgeWithCounts',
component: BadgeWithCounts,
tags: ['autodocs'],
} as Meta;

const Template: Story = (args) => <BadgeWithCounts {...args} />;
const Template: StoryFn<BadgeWithCountsProps> = (args) => <BadgeWithCounts {...args} />;

export const Default = Template.bind({});
Default.args = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';

interface BadgeWithCountsProps {
export interface BadgeWithCountsProps {
count: number;
maxCount?: number;
}
Expand Down

0 comments on commit 4aa3c8d

Please sign in to comment.