Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

fade-in-left-big

v1.0.0arrow_drop_down
v1.0.0
STATUS
Passing
DOWNLOADS
59
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 years ago
SIZE
883 B
1 contributor
Install fade-in-left-big as a package?
Copied
npm i @bit/formidablelabs.react-animations.fade-in-left-big
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
fade-in-left-big.js
16 Lines(13 sloc)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// @flow
import { translate3d } from './utils';
import type { Animation } from './types';

const fadeInLeftBig: Animation = {
  from: {
    opacity: 0,
    transform: translate3d('-2000px', 0, 0)
  },
  to: {
    opacity: 1,
    transform: 'none'
  }
};

export default fadeInLeftBig;