A gluestack-style plugin for resolving animation properties, utilizing animation libraries.
To use @gluestack-style/animation-resovler, all you need to do is install the@gluestack-style/animation-resovler package:
``sh
$ yarn add @gluestack-style/animation-resovler
$ npm i @gluestack-style/animation-resovler
``
In this example, we are creating a new instance of the AnimationResolver class, passing an object with the 'aliases' property as an argument. The aliases object maps the aliases :initial, :animate, and :exit to their corresponding animation props.
Once the plugin is initialized, you can use the styled function to create styled components with animation props. Here's an example:
More guides on how to get started are available
here.