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
When you need to use a loading indicator like CircularProgress you often want it to be centered and to fill the container. Currently you have to wrap it in a view with custom styles which might get repetetive if you have a lot of data fetching in your app. It would be nice to add a fill property to CircularProgress which adds flex: 1, alignItems: "center" and justifyContent: "center" to the outermost component.
Alternatives
We could also create a CircularProgressScreen which fills the container and centers a CircularProgress.
Other info
No response
The text was updated successfully, but these errors were encountered:
Package / App
MAD Components
Description
When you need to use a loading indicator like
CircularProgress
you often want it to be centered and to fill the container. Currently you have to wrap it in a view with custom styles which might get repetetive if you have a lot of data fetching in your app. It would be nice to add afill
property toCircularProgress
which addsflex: 1
,alignItems: "center"
andjustifyContent: "center"
to the outermost component.Alternatives
We could also create a
CircularProgressScreen
which fills the container and centers aCircularProgress
.Other info
No response
The text was updated successfully, but these errors were encountered: