From a39ccbcbf2bda3ae8df2d9d9d88ebfbfcacbc315 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Wed, 26 Apr 2023 16:54:04 +0100 Subject: [PATCH] typo --- docs/data/base/components/menu/menu.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/base/components/menu/menu.md b/docs/data/base/components/menu/menu.md index 6dc785da7fca8c..42747dbb67c8e9 100644 --- a/docs/data/base/components/menu/menu.md +++ b/docs/data/base/components/menu/menu.md @@ -91,7 +91,7 @@ The following code snippet applies a CSS class called `my-listbox` to the listbo #### Usage with TypeScript -In TypeScript, you can specify the custom component type used in the `slots.root` as a generic to the unstyled component. This way, you can safely provide the custom compoenent's props directly on the compnent: +In TypeScript, you can specify the custom component type used in the `slots.root` as a generic parameter of the unstyled component. This way, you can safely provide the custom root's props directly on the component: ```tsx slots={{ root: CustomComponent }} customProp />