1.0.1 • Published 3 years ago

volkeno-button v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

This project is a stylised button of volkeno

This package is currently only maintained for Expo managed React Native projects, support for bare React Native projects is coming soon

Installation

Add the dependency:

npm i volkeno-button

or

yarn add volkeno-button

Peer Dependencies

IMPORTANT! You need install them.
 "react": "^16.0.0-beta.5",
 "react-native": "^0.49.1"

Basic Usage

First step: import the component:

import ButtonVolkeno from 'volkeno-button';

Second step: Use the button

<ButtonVolkeno 
        textButton="Click it"
        styles = {{backgroundColor:"green"}}/>
/>

Example Application

  • I just shared the example project on Expo, simply run on Snack to check what it is: via Expo

Configuration - Props

FloatingButton

PropertyTypeDefaultDescription
textButtonstring-text inside button
stylesfunction-style for the button

Author

Prince Diouf, princediouf95@gmail.com

License

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