Skip to content

Conversation

kkorabiowski
Copy link
Collaborator

No description provided.

@kkorabiowski kkorabiowski requested a review from MaxymilianSa July 2, 2023 11:08

const Tag = ({ variant, className, ...props }: TagProps) => (
<div className={clsxm(tagVariants({ variant, className }))} {...props}>
{getTagVariantText(variant)}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think u can use any string for tag. Not only 'hot', 'new' or 'popular' + translations. It will be hard to reuse in future, if u want use other languages.

}
);

export const getTagVariantText = (variant: TagVariants) => {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If u can type any text, it will be to delete.

@MaxymilianSa
Copy link
Owner

  • resolve conflicts 🫣

@MaxymilianSa
Copy link
Owner

Change second commit for sth like "Added storybook for tag component" or stash commits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants