react-transition-animation
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

react-transition-animation

NPM JavaScript Style Guide

Install

npm install --save react-transition-animation

Usage

import React, { Component } from 'react';
import styled, { keyframes } from 'styled-components';
import { fadeIn } from 'react-transition-animation';

const animation = keyframes`${fadeIn}`;
const FadeIn = styled.h1`
  animation: 1s ${animation};
`;

class Example extends Component {
  render() {
    return <FadeIn>FadeIn Example 😄</FadeIn>;
  }
}

License

MIT © a-kawasumi

Readme

Keywords

none

Package Sidebar

Install

npm i react-transition-animation

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

4.74 kB

Total Files

10

Last publish

Collaborators

  • a-kawasumi