Skip to content

Commit 38e3e45

Browse files
committed
docs: update README with duration property
1 parent acf057c commit 38e3e45

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ For Nuxt 3, just wrap component in `<ClientOnly>`
112112

113113
| Prop | Type | Description | Example |
114114
| ------------------- | -------- | --------------------------------------------------------------------------------------------------- | -------------------------------- |
115+
| duration | Number | Defines the duration open and close animations. | `:duration="250"` |
115116
| snapPoints | Number[] | Defines custom snapping positions for the bottom sheet | `:snapPoints="[300, 600, 900]"` |
116117
| defaultSnapPoint | Number | Specifies the default snap point. Note that at least one snapPoint must be specified for it to work | `:default-snap-point="600"` |
117118
| blocking | Boolean | Controls whether the bottom sheet blocks interactions with underlying content | `:blocking="true"` |
@@ -123,6 +124,7 @@ For Nuxt 3, just wrap component in `<ClientOnly>`
123124

124125
| Prop | Default |
125126
| ------------------- | -------------------------- |
127+
| duration | `250` |
126128
| snapPoints | `minHeight` |
127129
| defaultSnapPoint | `minHeight / minSnapPoint` |
128130
| blocking | `true` |

0 commit comments

Comments
 (0)