Socket
Book a DemoInstallSign in
Socket

@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.

1.0.4
latest
npmnpm
Version published
Weekly downloads
21K
-7.61%
Maintainers
9
Weekly downloads
 
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

react

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.