-
-
Notifications
You must be signed in to change notification settings - Fork 926
FabricOptionalProp
Miklós Fazekas edited this page Oct 18, 2023
·
1 revision
In fabric type spec we use compassEnabled?: OptionalProp<boolean> instead of compassEnabled?: boolean.
Fabric converts those optional to boolean, with default values, but when we render MapView without compassEnabled we want it to be rendered what's the default by Mapbox, so null.
See discussion