Skip to content

Commit

Permalink
adding basic api interface for pixelRatio get
Browse files Browse the repository at this point in the history
  • Loading branch information
tinkrtailor committed Sep 8, 2017
1 parent ca24f9c commit 1435034
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/pixelRatioRe.re
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
external get : unit => int = "get" [@@bs.scope "PixelRatio"] [@@bs.module "react-native"];
1 change: 1 addition & 0 deletions src/pixelRatioRe.rei
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
let get: unit => int;
2 changes: 2 additions & 0 deletions src/reactNative.re
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ module NativeEventEmitter = NativeEventEmitterRe;

module Platform = PlatformRe;

module PixelRatio = PixelRatioRe;

module StyleSheet = StyleSheetRe;

module PanResponder = {
Expand Down

0 comments on commit 1435034

Please sign in to comment.