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

[Button] - should allow to pass an html content #563

Closed
5 tasks done
daniele-zurico opened this issue Oct 27, 2023 · 1 comment
Closed
5 tasks done

[Button] - should allow to pass an html content #563

daniele-zurico opened this issue Oct 27, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@daniele-zurico
Copy link
Contributor

daniele-zurico commented Oct 27, 2023

Currently, the button allows only passing a label element but no a more complex content like a span or whatever other thing.
We should be allowed to do stuff like this:

<button>
   <span>this</span>
   <span> is </span>
   <span> the </span>
   <span> content </span>
</button>

please remember to:

  • apply the change
  • write the test to prove it
  • update the documentation page in storybook
  • update the examples in storybook in each section
  • update the live version in storybook
git checkout release/1.0.0
git pull
git checkout -b 'feature/button-content'
@daniele-zurico daniele-zurico added this to the 1.0.0 milestone Oct 27, 2023
@daniele-zurico daniele-zurico added the enhancement New feature or request label Oct 27, 2023
@daniele-zurico daniele-zurico modified the milestones: 1.0.0, 1.1.0 Nov 13, 2023
@daniele-zurico
Copy link
Contributor Author

closed by #576

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants