Skip to content

Commit

Permalink
add class to missing instances
Browse files Browse the repository at this point in the history
  • Loading branch information
danilo-leal committed Oct 11, 2023
1 parent aea4529 commit d2e1f58
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/data/base/components/number-input/number-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ The value will be clamped based on `min`, `max` and `step` once the input field

### Shift multiplier

Holding down the <kbd>Shift</kbd> key when interacting with the stepper buttons applies a multipler (default 10x) to the value change of each step.
Holding down the <kbd class="key">Shift</kbd> key when interacting with the stepper buttons applies a multipler (default 10x) to the value change of each step.

You can customize this behavior with the `shiftMultiplier` prop.
In the following snippet, if <kbd>Shift</kbd> is held when clicking the increment button, the value will change from 0, to 5, to 10, and on.
In the following snippet, if <kbd class="key">Shift</kbd> is held when clicking the increment button, the value will change from 0, to 5, to 10, and on.

```jsx
<NumberInput min={0} step={1} shiftMultiplier={5} />
Expand Down
2 changes: 1 addition & 1 deletion docs/data/joy/components/drawer/drawer.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Drawers are commonly used as menus for desktop navigation, and as dialogs on mob
import Drawer from '@mui/joy/Drawer';
```

The Drawer will close after the user makes a selection, clicks anywhere outside of it, or presses the <kbd>Esc</kbd> key.
The Drawer will close after the user makes a selection, clicks anywhere outside of it, or presses the <kbd class="key">Esc</kbd> key.

Use the `open` prop to control the toggling of the Drawer's open and close states, as shown in the demo below:

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/blog/v6-beta-pickers.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Moreover, notice in the following example that as we edit the day, the component
:::info
**Behavior change alert**

During pre-releases, using <kbd>Arrow Up</kbd> and <kbd>Arrow Down</kbd> to update a date section would essentially update the entire field like you were navigating the calendar.
During pre-releases, using <kbd class="key">Arrow Up</kbd> and <kbd class="key">Arrow Down</kbd> to update a date section would essentially update the entire field like you were navigating the calendar.
In the previous example, updating the day value from 28 to 1 would also update the month to March.

On the stable version, released after the original post, each date section is independent.
Expand Down

0 comments on commit d2e1f58

Please sign in to comment.