my-rn-flip-view
v1.0.0
Published
my-rn-flip-view
Downloads
2
Readme
Installation
Thêm Vào package.json
"my-rn-flip-view": "git+https://gitlab.com/react-native-my-libs/my-rn-flip-view.git",
Chạy lệnh sau
yarn install
Sử dụng
sử dụng như sau:
Tham khảo cái VVocaCard của matching.
<FlipView ref={(ref) => {this.flipCardView = ref}}
style={{flex: 1}}
front={this._renderFront()}
back={this._renderBack()}
isFlipped={this.isFlipped}
flipAxis="y"
flipEasing={Easing.out(Easing.ease)}
flipDuration={300}
perspective={1000}/>