Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Commit d1a8061

Browse files
Merge pull request #1525 from SamOdum/patch-1
2 parents 3f28a13 + a2b5a6e commit d1a8061

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/docs/components/modal/usage.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ function VerticallyCenter() {
288288
### Changing the transition
289289
290290
The `Modal` comes with a scale transition by default but you can change it by
291-
passing a `motionPreset` prop, and set its value to either `slideInBottom`,
291+
passing a `motionPreset` prop, and setting its value to either `slideInBottom`,
292292
`slideInRight`, `scale` or `none`.
293293
294294
```jsx
@@ -430,7 +430,7 @@ To disable this behavior, set `useInert` to `false`.
430430
By default the modal, alert dialog and drawer locks the focus inside them.
431431
Normally this is what you want to maintain accessibility standards.
432432
433-
**While strongly discourage this use case** due to the accessibility impacts,
433+
**While we strongly discourage this use case** due to the accessibility impacts,
434434
there are certain situations where you might not want the modal to trap focus.
435435
436436
To prevent focus trapping, pass `trapFocus` and set its value to `false`.
@@ -448,7 +448,7 @@ to set the `backdropFilter` prop to `auto`.
448448
> example below included.
449449
450450
The `filter` property will have no effect on the background because the Modal is
451-
rendered within a `Portal`. This mean you can only style components within the
451+
rendered within a `Portal`. This means you can only style components within the
452452
Modal by using this property.
453453
454454
```jsx

0 commit comments

Comments
 (0)