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:
[x] apply the change
[x] write the test to prove it
[x] update the documentation page in storybook
[x] update the examples in storybook in each section
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:please remember to: