Skip to content

Commit

Permalink
[docs] Fix number input wrong demo
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Sep 17, 2023
1 parent 53b9656 commit 806f84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/base/components/number-input/number-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The following code snippet:
## Hook

```js
import useNumberInput from '@mui/base/unstable_useNumberInput';
import { unstable_useNumberInput as useNumberInput } from '@mui/base/unstable_useNumberInput';
```

The `useNumberInput` hook lets you apply the functionality of a Number Input to a fully custom component.
Expand Down

0 comments on commit 806f84c

Please sign in to comment.