0.0.1 • Published 7 years ago

react-native-animated-ui v0.0.1

Weekly downloads
7
License
-
Repository
github
Last release
7 years ago

react-native-animated-ui

Animated UI components for react-native

Get Started

Installation

  1. Install library from npm
yarn add react-native-animated-ui
  1. Link native code
react-native link 

Usage

Start using the components by importing them

import { Button, ActionButton } from '@citydropz/citydropz-ui';

<Button />

Components included:

  • ActionButton

ActionButton

PropTypeDefaultNote
textstring
colorstring
onPressfunction
  • Button

Button

PropTypeDefaultNote
textstringPress
colorstring#333
onPressfunction
  • FlipCard

FlipCard

PropTypeDefaultNote
textstring
backTextstring
fontSizenumber20
colorstringcornflowerblue
backColorstringrebeccapurple
  • Heart

Heart

PropTypeDefaultNote
explostionbooleanfalse
colorstringcrimson
onPressfunction
  • Icon

Icon

PropTypeDefaultNote
sizenumber30
colorstringcornflowerblue
svgPathstringM44,19.7c0.1,8-7.1,10.7-11.7,14.1c-4.2,3.1-7.8,7.4-8.3,9.2c-0.5-1.8-3.8-6-8.3-9.1C11,30.7,3.9,27.7,4,19.8C4.1,5.3,18.8,2.4,24,14.9C29.2,2.5,43.9,5.2,44,19.7z
viewBoxstring0 0 48 48
onPressfunction
  • HorizontalParallax

HorizontalParallax

PropTypeDefaultNote
imagesArray<{ image: string, title: string }>

Credits