Issue
mui's <Skeleton>
components use pulse or wavy animations.
Is there a way to speed up this animation a bit, e.g. by changing the duration?
Solution
Yes, fairly easily actually! Assuming you're using the latest version of MUI.
<Skeleton width={400} height={100} sx={{ animationDuration: "0.3s" }} />
Read more about the SX prop here.
Answered By - Summer
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.