Skip to content

Commit af69fb0

Browse files
authored
docs(modal): clarify swipe to close section (#3021)
1 parent 6b2f6ed commit af69fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/modal.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ import CanDismissFunctionExample from '@site/static/usage/v7/modal/can-dismiss/f
8181

8282
### Prevent swipe to close
8383

84-
Developers may want to prevent users from swiping to close a modal. This can be done by setting a callback function for `canDismiss` and checking if the `role` is not `gesture`.
84+
Developers may want to prevent users from swiping to close a card or sheet modal. This can be done by setting a callback function for `canDismiss` and checking if the `role` is not `gesture`.
8585

8686
import CanDismissPreventSwipeToCloseExample from '@site/static/usage/v7/modal/can-dismiss/prevent-swipe-to-close/index.md';
8787

0 commit comments

Comments
 (0)