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

Change BeamerProvider child from Widget to Widget? for use in MultiProvider #636

Open
felixdollack opened this issue Sep 13, 2023 · 0 comments

Comments

@felixdollack
Copy link

Is your feature request related to a problem? Please describe.
I am using beamer in combination with the bloc package. I am using MultiProvider and was trying to put BeamerProvider in a list of providers but got an error because the child is of type Widget (mandatory) instead of Widget? (optional).

Describe the solution you'd like
Simple fix is to change the child of BeamerProvider to Widget? (I guess) to make this work.

Describe alternatives you've considered
As a current workaround I am wrapping the MultiProvider with the BeamerProvider.

Additional context
Personal opinion: I guess it does work as is, it just doesn't feel "clean".

I would be willing to contribute, just would want quick feedback as to not waste the effort ;)

Thank you @slovnicki for building beamer and for your consideration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant