Skip to content

Commit 8a32088

Browse files
committed
Fix RN props
1 parent 322c6f5 commit 8a32088

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Stacks_types.res

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ type space = [#between | #around | #evenly]
2323
@gentype
2424
type direction = [
2525
| #row
26-
| @as("row-reverse") #rowReverse
26+
| @gentype.as("row-reverse") #rowReverse
2727
| #column
28-
| @as("column-reverse") #columnReverse
28+
| @gentype.as("column-reverse") #columnReverse
2929
]
3030
@gentype
3131
type wrap = [#wrap | #nowrap]
@@ -67,14 +67,14 @@ type spacingHelpers = {
6767
type pointerEvents = [
6868
| #auto
6969
| #none
70-
| @as("box-none") #boxNone
71-
| @as("box-only") #boxOnly
70+
| @gentype.as("box-none") #boxNone
71+
| @gentype.as("box-only") #boxOnly
7272
]
7373

7474
@gentype
7575
type importantForAccessibility = [
7676
| #auto
7777
| #yes
7878
| #no
79-
| @as("no-hide-descendants") #noHideDescendants
79+
| @gentype.as("no-hide-descendants") #noHideDescendants
8080
]

0 commit comments

Comments
 (0)