From 806f84c8b5c09dac4ba7002b3b2c18dc3c5d8127 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 17 Sep 2023 14:13:52 +0200 Subject: [PATCH] [docs] Fix number input wrong demo --- docs/data/base/components/number-input/number-input.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/base/components/number-input/number-input.md b/docs/data/base/components/number-input/number-input.md index d00eacecc62f90..93b3d9562c69bd 100644 --- a/docs/data/base/components/number-input/number-input.md +++ b/docs/data/base/components/number-input/number-input.md @@ -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.