Closed jdanthinne closed 1 year ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Kudos, SonarCloud Quality Gate passed!
Thanks for the contribution, @jdanthinne ! Would you mind adding code to Showcase app to demonstrate this new feature ?
I think a quick way could be to add a second toggle below "show enabled state" on ButtonsView
to allow toggling between normal and fullWidth buttons (only for the first two buttons of each cell, i.e. buttons that do have a label).
Thanks in advance
And could you also create a pull request from a feature branch of your fork, and not from your main branch ?
Changes description
Add full width support for SwiftUI button
Context
Currently, SwiftUI button can't be sized to full width using
.frame(maxWidth: .infinity)
.Checklist
design-system-core-team-design
GitHub team.Does this introduce a breaking change?