Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.05 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.05 KB

react-embedded-animations

React library to use animations on embedded experiences where the use of !important in the CSS is required.

When to use it

On most case this library shouldn't be used, used only if:

  • if you are required to use !important on your animations' CSS

NPM JavaScript Style Guide

Install

npm install --save react-embedded-animations

Usage

import React, { Component } from 'react'

import { Animated, TRANSITIONS } from 'react-embedded-animations'

class Example extends Component {
  render() {
    return (
      <Animated
        animation={TRANSITIONS.OPACITY_IN}
        duration={500}
        delay={0}
        easing='ease-in-out'
      >
        <div className='embedded-landing-start-logo' />
      </Animated>
    )
  }
}

License

MIT © faridsaud