Skip to content

Commit 94cf71a

Browse files
sgnycknitt
authored andcommitted
Add children prop back to ImageBackground (#463)
1 parent 27745f8 commit 94cf71a

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎reason-react-native/src/components/ImageBackground.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,10 @@ external make:
7272
=?,
7373
~source: Image.Source.t,
7474
~style: Style.t=?,
75-
~testID: string=?
75+
~testID: string=?,
76+
~children: React.element=?
7677
) =>
7778
React.element =
7879
"ImageBackground";
80+
7981
```

‎reason-react-native/src/components/ImageBackground.re‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ external make:
6565
=?,
6666
~source: Image.Source.t,
6767
~style: Style.t=?,
68-
~testID: string=?
68+
~testID: string=?,
69+
~children: React.element=?
6970
) =>
7071
React.element =
7172
"ImageBackground";

0 commit comments

Comments
 (0)