Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Move loading animation to the Animate component #17106
Followup related to #17090.
This PR takes Gutenberg's loading animation and moves it into the Animate component. Previously, this was defined as a mixin in
Moving it to the Animate component removes that duplication, and allows developers to include this in a per-component basis.
These should look exactly the same as before, but here's what you should see when testing:
* Add loading animation to the Animate component. * Update post-saved-state to use Animate component. * Update file block to use Animate component. * Remove unused animation. * Update README to include the loading animation. * Update packages/block-library/src/file/edit.js Co-Authored-By: Riad Benguella <email@example.com> * Remove unnecessary animate prop. * Fix faling unit test which no longer can use shallow rendering