Skip to content
This repository was archived by the owner on May 2, 2019. It is now read-only.

Commit 0e4c7b3

Browse files
authored
Merge pull request #7 from Astrocoders/greenkeeper/bs-react-native-0.5.0
Update bs-react-native to the latest version 🚀
2 parents 445fc2b + 4e1f5b5 commit 0e4c7b3

File tree

2 files changed

+3
-18
lines changed

2 files changed

+3
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Gabriel R. Abreu <grsabreu@gmail.com>",
88
"license": "MIT",
99
"dependencies": {
10-
"bs-react-native": "^0.3.0",
10+
"bs-react-native": "^0.5.0",
1111
"reason-react": "^0.3.0"
1212
},
1313
"devDependencies": {

re/REStyled.re

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
open ReactNative;
1+
open BsReactNative;
22

33
let get = (arg, default) =>
44
switch arg {
@@ -8,21 +8,6 @@ let get = (arg, default) =>
88

99
module type StyledConfig = {type styleParams; let style: option(styleParams) => Style.t;};
1010

11-
/* TODO Use a module functor later to reuse the module creation */
12-
/* module Create (Component: { */
13-
/* type params; */
14-
/* let make: style::Style.t? => params; */
15-
/* }) => { */
16-
/* module Styled (Config: StyledConfig) => { */
17-
/* let make ::styled=? style::additionalStyle=? => */
18-
/* Component.make */
19-
/* style::( */
20-
/* Style.combine */
21-
/* (Config.style styled) */
22-
/* (Utils.get additionalStyle Style.(style [])) */
23-
/* ); */
24-
/* }; */
25-
/* }; */
2611
module View = (Config: StyledConfig) => {
2712
let make = (~styled=?, ~style as additionalStyle=Style.(style([]))) =>
2813
View.make(~style=Style.combine(Config.style(styled), additionalStyle));
@@ -69,4 +54,4 @@ module TextInput = (Config: StyledConfig) => {
6954
module Image = (Config: StyledConfig) => {
7055
let make = (~styled=?, ~style as additionalStyle=Style.(style([]))) =>
7156
Image.make(~style=Style.combine(Config.style(styled), additionalStyle));
72-
};
57+
};

0 commit comments

Comments
 (0)