fabulous-dev / Fabulous

Declarative UI framework for cross-platform mobile & desktop apps, using MVU and F# functional programming
https://fabulous.dev
Apache License 2.0
1.13k stars 122 forks source link

Don't add attribute for optional wrap in FlexLayout ctor #968

Closed TimLariviere closed 2 years ago

TimLariviere commented 2 years ago

Fixes https://github.com/fsprojects/Fabulous/pull/965#discussion_r907623556 @twop I was wondering if I should use a default value or not add the attribute at all. But I'm changing it based on your comment.

Just wondering how it scales if there is several optional args?