1.0.3 • Published 6 years ago
ndgnuh-rn-button v1.0.3
ndgnuh-rn-button
About
A button component for react-native
install
yarn add ndgnuh-rn-button
or
npm install ndgnuh-rn-button
Usage
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>
)
}
}