gokcan / react-shimmer

🌠 Async loading, performant Image component for React.js
https://nh9x1.csb.app
MIT License
1.16k stars 36 forks source link

Support for rem, vw and percentage dimensions #104

Closed harsha20599 closed 1 year ago

harsha20599 commented 2 years ago

I am unable to provide the .rem dimensions to the Shimmer component since it's taking the height and width as number.

Is there any workaround to pass the responsive css paramters.

Thanks for this wonderful module.

gokcan commented 1 year ago

Hi, please see: https://github.com/gokcan/react-shimmer/issues/59