Skip to content

Commit 0350ade

Browse files
committed
Fix list & listOption Style example to use list, not array 🙃
1 parent bd7e09f commit 0350ade

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎reason-react-native/src/apis/Style.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ Accepts an array of optional styles as a single style.
12621262
Accepts a list of styles as a single style.
12631263

12641264
```reason
1265-
<View style=Style.(list([|
1265+
<View style=Style.(list([
12661266
styles##thing,
12671267
styles##whatever,
12681268
]))>
@@ -1273,10 +1273,10 @@ Accepts a list of styles as a single style.
12731273
Accepts a list of optional styles as a single style.
12741274

12751275
```reason
1276-
<View style=Style.(listOption([|
1276+
<View style=Style.(listOption([
12771277
Some(styles##thing),
12781278
Some(styles##whatever),
12791279
optionalStyle,
12801280
cond ? Some(style(~prop=value, ()) : None
1281-
|]))>
1281+
]))>
12821282
```

0 commit comments

Comments
 (0)