ndgnuh-rn-button
v1.0.3
Published
Button for React-Native
Readme
ndgnuh-rn-button
About
A button component for react-native
install
yarn add ndgnuh-rn-buttonor
npm install ndgnuh-rn-buttonUsage
import React, { Component } from 'react';
import {View, Text}from 'react-native';
import Button from 'ndgnuh-rn-button';
class Example extends Component {
render () {
// please wrap everything in a <View/> so that TouchableNativeFeedback would work
return (
<Button>
<View>
<Text>Text, Image or Icon. anything herer</Text>
</View>
</Button>
)
}
}
