Skip to content

Ali-Rzaa/Awesome-Custom-Button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Custom Button

Use our custom reusable light weight button for your ease.🙌

API Reference

Props

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

Installation

Install Awesome Custom Button with npm

  npm install react-native-awesome-custombutton

Usage/Examples

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>
}

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published