react-native-awesome-custombutton

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-native-awesome-custombutton

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

9.05 kB

Total Files

5

Last publish

Collaborators

  • alirk