react-useanimations 2.0.6 → 2.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README_v1 DELETED
@@ -1,46 +0,0 @@
1
- ## React UseAnimations Icons
2
-
3
- [![npm version](https://img.shields.io/npm/v/react-useanimations.svg?style=flat-square)](https://www.npmjs.com/package/react-useanimations) [![npm downloads](https://img.shields.io/npm/dm/react-useanimations.svg?style=flat-square)](https://www.npmjs.com/package/react-useanimations)
4
-
5
- #### What is react-useanimations?
6
-
7
- React-useanimations is a collection of free animated open source icons for React.js.
8
-
9
- #### Collection
10
-
11
- [https://react.useanimations.com](https://react.useanimations.com/) and play with examples.
12
-
13
- ![](useanimations-preview.gif)
14
-
15
- ### Installation
16
-
17
- Using Yarn:
18
-
19
- ```
20
- yarn add react-useanimations
21
- ```
22
-
23
- or using NPM:
24
-
25
- ```
26
- npm install react-useanimations
27
- ```
28
-
29
- ### Usage
30
- This is README for v1, consider upgrading to v2, it will improve your performance - [react-useanimations@v1](https://github.com/useAnimations/react-useanimations/blob/master/README.md)
31
-
32
- Basic Usage
33
- ```javascript
34
- import React from 'react';
35
- import UseAnimations from 'react-useanimations';
36
-
37
- const App = () => <UseAnimations animationKey="github" />;
38
-
39
- export default App;
40
- ```
41
-
42
- Icons can be configured with inline props:
43
-
44
- ```javascript
45
- <UseAnimations animationKey="alert" size={56} style={{ padding: 100 }} />
46
- ```