2.1.2 • Published 1 year ago

rn-orientation-view v2.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
1 year ago

RN Orientation View

A lightweight react native component to handle orientation change.

Install

npm i rn-orientation-view
import OrientationView from 'rn-orientation-view';

Usage

<OrientationView
    landscapeStyles={{ flexDirection: 'row' }}
>
    ...
</OrientationView>

Properties

  • style (optional): you can override the default styles.
  • landscapeStyles (optional): override the default landscapeStyles.
  • portraitStyles (optional): override the default portraitStyles.
  • isAnimated (optional): a bool flag indicating if the view should use Animated.View instead.

Authors

License

This project is licensed under the MIT License

2.1.2

1 year ago

2.1.1

1 year ago

2.1.0

1 year ago

2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago