Skip to content

Commit fe05e36

Browse files
committed
Move match object and early returning to dynamic-style-processor
1 parent de18406 commit fe05e36

File tree

3 files changed

+745
-753
lines changed

3 files changed

+745
-753
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# React Native CSS Media Query processor
22

3+
![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg)
34
[![NPM version](http://img.shields.io/npm/v/react-native-css-media-query-processor.svg)](https://www.npmjs.org/package/react-native-css-media-query-processor)
45
[![Build Status](https://travis-ci.org/kristerkari/react-native-css-media-query-processor.svg?branch=master)](https://travis-ci.org/kristerkari/react-native-css-media-query-processor)
56
[![Build status](https://ci.appveyor.com/api/projects/status/1itowtpn7a51rc5x/branch/master?svg=true)](https://ci.appveyor.com/project/kristerkari/react-native-css-media-query-processor/branch/master)
@@ -115,7 +116,7 @@ transform(styles, { parseMediaQueries: true });
115116
```js
116117
import { process } from "react-native-css-media-query-processor";
117118

118-
process(styleObject);
119+
process(styleObject, matchObject);
119120
```
120121

121122
↓ ↓ ↓ ↓ ↓ ↓

0 commit comments

Comments
 (0)