You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, `DOMRenderer` can only handle `Button`s where is the label is `Text`. If it is any other `View`, the `Button` is not rendered. This is the cause of #403.
This PR removes this restriction. Additionally, it expands the `ButtonStyle` demo to include `Button`s with complex labels.
When adding padding to the content of a
Button
, the<button>
is no longer rendered in the HTML.Removing the
.padding()
restores the button in the output.Screenshots
(I could provide a screenshot, but just envision a blank screen, we'll save a few bytes on GitHub 😁)
This is using the latest code on the main branch.
The text was updated successfully, but these errors were encountered: