Reputation: 856
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?
Upvotes: 1
Views: 1797
Reputation: 1291
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.
Upvotes: 4