0.1.1 • Published 2 years ago

react-native-buttons-bootstrap v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Introduction

React native bootstrap buttons.

npm LICENSE MIT

NPM

Getting Started

Demo

Installation

npm i react-native-buttons-bootstrap --save

Usage

exemple
import { BtsrpBtn } from "react-native-buttons-bootstrap";
<BtsrpBtn btnText="Exemple" btnStyle="primary" btnRadius={-1} custumTextStyle={{textTransform:"uppercase"}} onPress={()=>{console.log("stop it!")}}  />

Properties

(non of the props is required)
Prop NameTypeDefault Value
btnTextstring"DEFAULT"
btnStylestring enum "primary","secondary","success","danger","warning","info","outlinePrimary","outlineSecondary","outlineSuccess","outlineDanger","outlineWarning" ,"outlineInfo"null
btnRadiusnumber4
custumTextStyleObjectnull
onPressvoidnull
onLongPressvoidnull