You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -155,15 +156,15 @@ Performs an animation and unmounts after the last-step (@keyframe).
155
156
import { Disappear } from'animate-components';
156
157
import { fadeIn } from'animate-keyframes';
157
158
158
-
<Disappear name={fadeIn} as="div" duration="3s">
159
+
<Disappear name={fadeIn} as='div' duration='3s'>
159
160
<h1>Hello World</h1>
160
161
</Disappear>
161
162
```
162
-
> Note - You can also pass all the [html attributes](https://facebook.github.io/react/docs/dom-elements.html#all-supported-html-attributes) supported by React to both the Merge and Disappear component along with the above props. Check [this](https://github.com/nitin42/animate-components/blob/master/examples/App.js) example.
163
+
> Note - You can also pass all the [html attributes](https://facebook.github.io/react/docs/dom-elements.html#all-supported-html-attributes) supported by React to both the Merge and Disappear component along with the above props. Check [this](https://github.com/nitin42/animate-components/blob/master/packages/animate-components/examples/App.js) example.
163
164
164
165
165
166
## Delay Component
166
-
Delay both the rendering and animations. Detailed info [here](https://github.com/nitin42/animate-components/blob/master/examples/delay.js).
167
+
Delay both the rendering and animations. Detailed info [here](https://github.com/nitin42/animate-components/blob/master/packages/animate-components/examples/delay.js).
Copy file name to clipboardExpand all lines: packages/animate-keyframes/README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ npm install animate-keyframes
9
9
```
10
10
11
11
## Usage
12
-
Keyframes are required when you will be using [Merge]() and [Disappear Component](). Earlier they were bundled with the same package ([`animate-components`](../animate-components)) so there are few changes when importing them.
12
+
Keyframes are required when you use [Merge](https://github.com/nitin42/animate-components/blob/master/packages/animate-components/docs/usage.md#merge-component) and [Disappear](https://github.com/nitin42/animate-components/blob/master/packages/animate-components/docs/usage.md#disappear-component) Component. Earlier they were bundled within the same package ([`animate-components`](../animate-components)) so there are few changes when importing them.
13
13
14
14
To import any keyframe,
15
15
@@ -94,7 +94,7 @@ import { fadeIn } from 'animate-keyframes';
0 commit comments