Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CircularProgress: Add fill property #316

Open
dansvend opened this issue Dec 15, 2023 · 0 comments
Open

CircularProgress: Add fill property #316

dansvend opened this issue Dec 15, 2023 · 0 comments
Labels
feature New functionality

Comments

@dansvend
Copy link
Contributor

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 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

@dansvend dansvend added the feature New functionality label Dec 15, 2023
@dansvend dansvend changed the title CircularProgressScreen CircularProgress: Add fill property Dec 15, 2023
@Sandtory Sandtory self-assigned this Dec 28, 2023
@Sandtory Sandtory removed their assignment Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants