From f7767bf30fa8249aba095f46e08f22e3483f6131 Mon Sep 17 00:00:00 2001 From: Benny Joo Date: Wed, 26 Apr 2023 16:54:40 +0100 Subject: [PATCH] typo --- docs/data/base/components/form-control/form-control.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/data/base/components/form-control/form-control.md b/docs/data/base/components/form-control/form-control.md index 718952c4027efe..97e841c71f0953 100644 --- a/docs/data/base/components/form-control/form-control.md +++ b/docs/data/base/components/form-control/form-control.md @@ -55,7 +55,7 @@ Note that it also uses the `useFormControlContext` hook in order to pass props t #### 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 />