Socket
Socket
Sign inDemoInstall

@gluestack-style/animation-resolver

Package Overview
Dependencies
Maintainers
9
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gluestack-style/animation-resolver

A gluestack-style plugin for resolving animation properties, utilizing animation libraries.


Version published
Maintainers
9
Created
Source

@gluestack-style/animation-resovler

Installation

To use @gluestack-style/animation-resovler, all you need to do is install the @gluestack-style/animation-resovler package:

$ yarn add @gluestack-style/animation-resovler

# or

$ npm i @gluestack-style/animation-resovler

Usage

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.

Example of creating a styled component:

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.

Keywords

FAQs

Package last updated on 29 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc