Use our custom reusable light weight button for your ease.🙌
Parameter | Type | Description |
---|---|---|
title |
string |
Required. Title of button |
isDisable |
boolean |
Disable button |
buttonStyle |
style |
Add your styling to button |
textStyle |
style |
Add your styling to title |
onPress |
callback |
Callback Function called on Press |
Install Awesome Custom Button
with npm
npm install react-native-awesome-custombutton
import Button from 'react-native-awesome-customebutton'
function App() {
return
<View>
<Button
title={"Click Me"}
isDisable=false
buttonStyle={{
backgroundColor:'Green',
borderRadius:15
}}
textStyle={{
color:'black',
fontSize: 15
}}
onPress={()=>console.log("button is clicked")}
/>
</View>
}