react-native-pull-zoom-view

1.0.2 • Public • Published

react-native-pull-zoom-view

使用:

1、在终端进入到项目目录:npm i react-native-pull-zoom-view --save

2、实例:

import HeaderBar from 'react-native-pull-zoom-view'

<HeaderBar
    containerStyle={{backgroundColor:'red'}}
    title="我是title"/>

3、

containerStyle: 容器style

title: title

titleStyle: title style

leftText: 左侧文字

leftTextStyle: 左侧文字样式

leftImageSource: 左侧图片

leftImageStyle: 左侧图片样式

rightText: 右侧文字

rightTextStyle: 右侧文字样式

rightImageSource: 右侧图片

rightImageStyle: 右侧图片样式

onLeftPress:点击左侧回调

onRightPress: 点击右侧回调

image

Readme

Keywords

Package Sidebar

Install

npm i react-native-pull-zoom-view

Weekly Downloads

0

Version

1.0.2

License

ISC

Last publish

Collaborators

  • mengqingdong