npm.io
0.0.3 • Published 7 years ago

react-native-cmbutton

Licence
ISC
Version
0.0.3
Deps
0
Size
3 kB
Vulns
0
Weekly
0

image

how to install ?

npm install react-native-common_button --save or use yarn yarn add react-native-common_button

how to use

import Btn from 'react-native-common_button'
 _onBtnB() {
        alert('Btn click in');
    };
<Btn onBtnClick={this._onBtnB}/>

more props are follows:

btnText: string,
btnColor: object,
btnWidth: number,
btnHeight: number,
btnRadius: number,
btnTextSize: number,
btnTextColor: object,
onBtnClick: func.isRequired

THANKS PALS ~

Keywords