Douro-ui / design-system

Douro UI is a Design System for all Metyis projects and partners
MIT License
2 stars 0 forks source link

Tag component options #119

Open GabrielSt opened 4 days ago

GabrielSt commented 4 days ago

Describe the bug The tag component could assume the type by checking if the src is provided, if it is, it's an image type. If there's a logic that makes it harder, make the type required, in my case, I've placed the src and it didn't work, because the type was not settled.

Remove the cursor pointer on that, it will not always be clickable, so the client should apply those rules upon need.

To Reproduce Steps to reproduce the behavior:

Implement packages/components/avatar/src/Avatar.tsx

Arthurmqz commented 4 days ago

The PR for this issue https://github.com/Douro-ui/design-system/pull/121