You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But in fact, Skeletons above with css property are not working properly. The styles described in css property completely override the Skeleton's own styles (background color, gradient, border, etc.).
As a result <Skeleton css={{ width: "100px" }} /> transforms into <span class="css-27wf7g-Skeleton">&zwnj</span> where css-27wf7g-Skeleton class contains only width: 100px.
Besides, I'd say that it will be great if Skeleton will support style and className props like other Sancho components do.
The text was updated successfully, but these errors were encountered:
Behavior:
"react": "16.12.0",
"sancho": "3.5.6"
The docs says that you should use Skeleton like that:
But in fact, Skeletons above with
css
property are not working properly. The styles described incss
property completely override the Skeleton's own styles (background color, gradient, border, etc.).As a result
<Skeleton css={{ width: "100px" }} />
transforms into<span class="css-27wf7g-Skeleton">&zwnj</span>
wherecss-27wf7g-Skeleton
class contains onlywidth: 100px
.Besides, I'd say that it will be great if Skeleton will support
style
andclassName
props like other Sancho components do.The text was updated successfully, but these errors were encountered: