Skip to content

Commit 478feeb

Browse files
committed
docs: add initialIndexAnimated prop doc
1 parent dc6d7f3 commit 478feeb

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

β€Ždocs/docs/reference/01-props.mdx

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,6 @@ Specify whether the sheet background is dimmed. Set to `false` to allow interact
8383
| - | - | - | - |
8484
| `boolean` | `true` | βœ… | βœ… |
8585

86-
### `initialIndex`
87-
88-
Initially present the sheet, after mounting, at a given size index.
89-
90-
| Type | Default | 🍎 | πŸ€– |
91-
| - | - | - | - |
92-
| `number` | `-1` | βœ… | βœ… |
93-
9486
:::info
9587
This property is only used during the initial mount.
9688
:::
@@ -107,6 +99,23 @@ The size index that the sheet should start to dim the background.
10799
This is ignored if `dimmed` is set to `false`.
108100
:::
109101

102+
### `initialIndex`
103+
104+
Initially present the sheet, after mounting, at a given size index.
105+
106+
| Type | Default | 🍎 | πŸ€– |
107+
| - | - | - | - |
108+
| `number` | `-1` | βœ… | βœ… |
109+
110+
### `initialIndexAnimated`
111+
112+
Specify whether the sheet should animate after mounting.
113+
Used with `initialIndex`.
114+
115+
| Type | Default | 🍎 | πŸ€– |
116+
| - | - | - | - |
117+
| `boolean` | `true` | βœ… | βœ… |
118+
110119
### `grabber`
111120

112121
Shows a grabber (or handle). Native on IOS and styled `View` on Android.

0 commit comments

Comments
Β (0)