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

Add a "custom-placeholder" default style for showLoadingAnimation #93

Open
burkeshartsis opened this issue Jul 24, 2020 · 1 comment
Open
Labels

Comments

@burkeshartsis
Copy link

burkeshartsis commented Jul 24, 2020

Currently if you pass showLoadingAnimation while using a custom placeholder you have to make sure your custom placeholder includes one of the the default style class decelerations. Adding a custom-placeholder class here and passing it by default to all custom placeholders would mean <ReactPlaceholder customPlaceholder={<StyledLine />} showLoadingAnimation /> would just work ⚡

@2hands10fingers
Copy link

2hands10fingers commented Mar 19, 2021

I'm unable to get the showLaodingAnimation prop to work as shown in the documentation. I had to explicitly add a class of "show-loading-animation".

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

No branches or pull requests

3 participants