The basic idea of motions
Creating a motion animation in your component is very simple, all that you need is put your animation name as a prop of your component or tag HTML. Like the example bellow:
class SomeComponent extends NevinhaComponent {
render() {
return (
Here an component with a motion animation:
);
}
}
In the code above, we are using inline motions, wich is the most basic way to use our motions, but if you want to controll the state of your animation, we recommend that you use controlled motions.