petal_components
petal_components copied to clipboard
Add tags to the card content
Hi,
I think the <.card_content> component should allow a tags attributes. Something like this
<.card_content category="My category" heading="Awesome heading" tags={[tag1, tag2, ..., tagn]}>
</.card_content>
The tag being a <.badge color="primary" variant="outline">
Is it a pull request interesting for you ?
Sounds good! Do you have an example of the use cases/what it would look like?
Hi,
Something like that :)
That does look great and I can see the use case. Feel free to submit a PR if you get around to it and I'll take a look :)
Closing for now.