File size: 371 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Animate
Simple interface to introduce animations to components on initial render. Used as a wrapper.
## How to use
```jsx
import Animate from 'calypso/components/animate';
function render() {
return <Animate type="appear">Will animate</Animate>;
}
```
## Props
- `type`: (string) a string matching one of the approved transition effects (`appear` or `fade-in`).
|