0.1.1 • Published 4 years ago

icon-animate-xxl v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

n# icon-animate-xxl Icon animations for react-native compatible with oblador vector-icons

npm npm

Installation

  1. Run: $ npm i icon-animate-xxl
  2. In your Project: import IconAnimate from "icon-animate-xxl"

Example

import React from "react";
import {View} from "react-native";
import IconAnimate from "icon-animate-xxl"
export default function App() {
  return (
    <View>
      <IconAnimate
        name={"heart"}
        color={"#f45"}
        size={20}
        animation={"explode"}
        doppelganger={"heart-o"}
        animation={"explode"}
      />
    </View>
  );
}
});

Properties

You can build your animated icon with these props:

PropDescriptionDefault
nameName of icon, use for exampleheart.None
sizeIcon size.20`
colorText and icon color, use iconStyle or nest a Text component if you need different colors.None
animationwrite the different animation options."explode"
doppelgangerthis is an animation effect for explode which shows a mirror effect of the icon like a doppelgangerNone

License

This project is licenced under the MIT License.

Any bundled fonts are copyright to their respective authors and mostly under MIT or SIL OFL.y bundled fonts are copyright to their respective authors and mostly under MIT or SIL OFL.