react-placeholder icon indicating copy to clipboard operation
react-placeholder copied to clipboard

Add a "custom-placeholder" default style for showLoadingAnimation

Open burkeshartsis opened this issue 4 years ago • 1 comments

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 ⚡

burkeshartsis avatar Jul 24 '20 02:07 burkeshartsis