react-native-translatezview
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

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

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

Package Sidebar

Install

npm i react-native-translatezview

Weekly Downloads

2

Version

1.0.4

License

MIT

Unpacked Size

98.2 kB

Total Files

28

Last publish

Collaborators

  • icesoul