Skip to content

Commit

Permalink
Add children prop back to ImageBackground (facebook#463)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgny authored and cknitt committed Apr 29, 2019
1 parent 27745f8 commit 94cf71a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion reason-react-native/src/components/ImageBackground.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ external make:
=?,
~source: Image.Source.t,
~style: Style.t=?,
~testID: string=?
~testID: string=?,
~children: React.element=?
) =>
React.element =
"ImageBackground";
```
3 changes: 2 additions & 1 deletion reason-react-native/src/components/ImageBackground.re
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ external make:
=?,
~source: Image.Source.t,
~style: Style.t=?,
~testID: string=?
~testID: string=?,
~children: React.element=?
) =>
React.element =
"ImageBackground";

0 comments on commit 94cf71a

Please sign in to comment.