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

No access to props in loading? #13

Open
opyh opened this issue Jun 10, 2020 · 1 comment
Open

No access to props in loading? #13

opyh opened this issue Jun 10, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@opyh
Copy link

opyh commented Jun 10, 2020

Hey, thanks for the efforts you put into this!

Is there a way to access the input props in the loading method?

My use case is that I want to display a placeholder that has the same (parameterizable) size as the loadable content. Did I miss something?

If not, what do you think about adding a props parameter here?

@CaptainN
Copy link
Owner

You mean pass the instance props to the Loader? That's not a bad idea. I'll see about doing that.

@CaptainN CaptainN added the enhancement New feature or request label Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants