0.1.1 • Published 4 years ago

@paraboly/react-native-bouncy-circle-button v0.1.1

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

Fully customizable bouncy animated circle button for React Native by Paraboly

npm version npm Platform - Android and iOS License: MIT styled with prettier

Installation

Add the dependency:

npm i @paraboly/react-native-bouncy-circle-button

Peer Dependencies

"react-native-androw": "=> 0.0.34",
"@freakycoder/react-native-bounceable": ">= 0.2.0"

Usage

Import

import BouncyCircleButton from "@paraboly/react-native-bouncy-circle-button";

Fundamental Usage

<BouncyCircleButton onPress={() => {}}>
  <AnyComponent />
</BouncyCircleButton>

Configuration - Props

PropertyTypeDefaultDescription
onPressfunctionundefinedset your onPress functionality
childrencomponentundefinedset the inside BouncyCircleButton's children component
sizenumber50change the size of the button
backgroundColorcolor#fffchange the background of the button
shadowStylestyledefaultchange the shadow style of the button

Future Plans

  • LICENSE

Author

FreakyCoder, kurayogun@gmail.com

License

React Native Bouncy Circle Button is available under the MIT license. See the LICENSE file for more info.