Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Commit 41f17df

Browse files
committed
Document native platform support and installation instructions
1 parent f6df859 commit 41f17df

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
<p align="center">
44
<a title='License' href="https://raw.githubusercontent.com/FormidableLabs/react-native-responsive-styles/master/LICENSE">
5-
<img src='https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square' />
5+
<img src='https://img.shields.io/badge/license-MIT-blue.svg' />
66
</a>
77
<a href="https://badge.fury.io/js/react-native-responsive-styles">
88
<img src="https://badge.fury.io/js/react-native-responsive-styles.svg" alt="npm version" height="18">
99
</a>
10+
<img src='https://img.shields.io/badge/android-supported-brightgreen.svg' />
11+
<img src='https://img.shields.io/badge/iOS-supported-brightgreen.svg' />
1012
</p>
1113

1214
<h4 align="center">
@@ -22,6 +24,11 @@ Installation:
2224
npm i --save react-native-responsive-styles
2325
```
2426

27+
This library depends on [walmartlabs/react-native-orientation-listener](https://github.com/walmartlabs/react-native-orientation-listener), which contains native dependencies for iOS and Android. Link them with:
28+
```
29+
react-native link react-native-orientation-listener
30+
```
31+
2532
You can now import `StyleSheet` and any React components from `react-native-responsive-styles` instead of `react-native`:
2633
```js
2734
import {

0 commit comments

Comments
 (0)