Skip to content

Commit 99da403

Browse files
committed
add recordings to formSheet docs
1 parent 83e19f6 commit 99da403

8 files changed

+28
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

versioned_docs/version-7.x/native-stack-navigator.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,10 @@ Works only when `presentation` is set to `formSheet`.
886886

887887
:::
888888

889+
<video playsInline autoPlay muted loop>
890+
<source src="/assets/7.x/native-stack/formSheet-sheetAllowedDetents.mp4" />
891+
</video>
892+
889893
Describes heights where a sheet can rest.
890894

891895
Supported values:
@@ -908,6 +912,10 @@ Works only when `presentation` is set to `formSheet`.
908912

909913
:::
910914

915+
<video playsInline autoPlay muted loop>
916+
<source src="/assets/7.x/native-stack/formSheet-sheetElevation.mp4" />
917+
</video>
918+
911919
Integer value describing elevation of the sheet, impacting shadow on the top edge of the sheet.
912920

913921
Not dynamic - changing it after the component is rendered won't have an effect.
@@ -924,6 +932,10 @@ Works only when `presentation` is set to `formSheet`.
924932

925933
:::
926934

935+
<video playsInline autoPlay muted loop>
936+
<source src="/assets/7.x/native-stack/formSheet-sheetExpandsWhenScrolledToEdge.mp4" />
937+
</video>
938+
927939
Whether the sheet should expand to larger detent when scrolling.
928940

929941
Defaults to `true`.
@@ -944,6 +956,10 @@ Works only when `presentation` is set to `formSheet`.
944956

945957
:::
946958

959+
<video playsInline autoPlay muted loop>
960+
<source src="/assets/7.x/native-stack/formSheet-sheetCornerRadius.mp4" />
961+
</video>
962+
947963
The corner radius that the sheet will try to render with.
948964

949965
If set to non-negative value it will try to render sheet with provided radius, else it will apply system default.
@@ -960,6 +976,10 @@ Works only when `presentation` is set to `formSheet`.
960976

961977
:::
962978

979+
<video playsInline autoPlay muted loop>
980+
<source src="/assets/7.x/native-stack/formSheet-sheetInitialDetentIndex.mp4" />
981+
</video>
982+
963983
**Index** of the detent the sheet should expand to after being opened.
964984

965985
If the specified index is out of bounds of `sheetAllowedDetents` array, in dev environment more errors will be thrown, in production the value will be reset to default value.
@@ -978,6 +998,10 @@ Works only when `presentation` is set to `formSheet`.
978998

979999
:::
9801000

1001+
<video playsInline autoPlay muted loop>
1002+
<source src="/assets/7.x/native-stack/formSheet-sheetGrabberVisible.mp4" />
1003+
</video>
1004+
9811005
Boolean indicating whether the sheet shows a grabber at the top.
9821006

9831007
Defaults to `false`.
@@ -992,6 +1016,10 @@ Works only when `presentation` is set to `formSheet`.
9921016

9931017
:::
9941018

1019+
<video playsInline autoPlay muted loop>
1020+
<source src="/assets/7.x/native-stack/formSheet-sheetLargestUndimmedDetentIndex.mp4" />
1021+
</video>
1022+
9951023
The largest sheet detent for which a view underneath won't be dimmed.
9961024

9971025
This prop can be set to an number, which indicates index of detent in `sheetAllowedDetents` array for which there won't be a dimming view beneath the sheet.

0 commit comments

Comments
 (0)