An open API service indexing awesome lists of open source software.

https://github.com/st0ffern/react-native-nativebutton

Native button for iOS and Android
https://github.com/st0ffern/react-native-nativebutton

android ios nativebutton react-native react-native-button

Last synced: 4 months ago
JSON representation

Native button for iOS and Android

Awesome Lists containing this project

README

          

## react-native-nativebutton ![](https://img.shields.io/npm/v/react-native-nativebutton.svg?style=flat-square) [![David](https://img.shields.io/david/dev/stoffern/react-native-nativebutton.svg?style=flat-square)]() [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=flat-square)](https://github.com/semantic-release/semantic-release)

[![Greenkeeper badge](https://badges.greenkeeper.io/stoffern/react-native-nativebutton.svg)](https://greenkeeper.io/)

This provides native button responses for each platform (iOS and Android)

Android = TouchableNativeFeedback
iOS = TouchableOpacity

Nothing more, only the native feeling! :)

## Installation
```npm i -S react-native-nativebutton``` https://www.npmjs.com/package/react-native-nativebutton

## Props
- `children` **(required)**: the content to negate.

## Usage Examples

```js
import Button from "react-native-nativebutton"

class Example extends Component{
render(){
return (


{'My button'}


)
}
}

```