react-native-normal-button
v1.0.6
Published
custom button
Downloads
33
Readme
React native normal custom button
react-native-normal-button
Installation
Javascript
For the javascript part of the installation you need to run
npm install react-native-normal-button
or
yarn add react-native-normal-button
Usage
import {Button as CustomButton} from 'react-native-normal-button'
or
import {Button} from 'react-native-normal-button'
const handleSubmit=()=>{Alert.alert("Test")}
<Button
onPress={handleSubmit}
label="Sign Up"
disabled // optional
buttonStyle={{height:40}} // optional
textStyle= {{fontSize:10}} // optional
/>