79298178

Date: 2024-12-20 19:07:11
Score: 1.5
Natty:
Report link

A small addition to @Sephyre 's solution. You may have to deal with style specificity, as .react-loading-skeleton has its own border-radius and it may override yours. The !important flag works, but you may find better options.

upd: no need to create a wrapper, you can just pass your style with <Skeleton className={cls.customStyle}>

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Sephyre
  • Low reputation (1):
Posted by: Mustafa