UNPKG

react-native-translatezview

Version:
39 lines (24 loc) 695 B
# TranslateZView Change the zIndex (Useful to change z Index of view that you have no control) (RecyclerListview) android: api 21+ ios : 10.0+ web : zIndex ## Getting started `$ npm install react-native-translatezview --save` yarn: `$ yarn add react-native-translatezview` ## Usage ```javascript import ZView from 'react-native-translatezview'; // TODO: What to do with the module? <ZView {...props}> ``` ## Props Android: Behavior as elevation without shadow IOS: The layer’s position. Web: zIndex | Name | type | default | | --- | --- | --- | | translateZ | Number | 0 | | translateZParent | Number | 0 |