react-native-wobblifier

1.0.1 • Public • Published

Wobblifier

Makes your react-native component respond to taps by wobbling about 👆

Installation

yarn add react-native-wobblifier

Usage

import Wobblify from 'react-native-wobblifier'
 
<Wobblify>
  <Image source={require('../assets/cat.gif')} />
</Wobblify>

Or configure using the following props (listed below with defaults):

<Wobblify
  perspective={200} // passed to the transform
  springConfig={{   // merged with the default Animated.spring config
    tension: 30,
    friction: 2,
    velocity: 20
  }}
>
  {children}
</Wobblify>

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

Wobblifier is © 2018 MADE Code PTY Ltd. It is free software, and may be redistributed under the terms specified in the LICENSE file.

Maintained by

madeagency

Reactivity was created and is maintained MADE Agency PTY Ltd. The names and logos for MADE Code are trademarks of MADE Code PTY Ltd.

We love open source software. See our Github Profile for more.

We're always looking for talented people who love programming. Get in touch with us.

Package Sidebar

Install

npm i react-native-wobblifier

Weekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

81.7 kB

Total Files

12

Last publish

Collaborators

  • madeagency