From e5c6a0dd58fb7b32757f1a3b7868ec851f13baf9 Mon Sep 17 00:00:00 2001 From: Dominik Brugger Date: Fri, 4 Aug 2023 21:27:37 +0200 Subject: [PATCH] docs: fix typo in PolymorphicProps (#14391) Co-authored-by: TJ Egan --- packages/react/src/types/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/types/common.ts b/packages/react/src/types/common.ts index 423d23142119..4f47374b0350 100644 --- a/packages/react/src/types/common.ts +++ b/packages/react/src/types/common.ts @@ -12,7 +12,7 @@ export type ForwardRefReturn = React.ForwardRefExoticComponent< /** * For "as" props. Creates an "as" property that supports native html tags such as 'span', 'a', 'button' as well as custom functional components - * All native props for the supplied html tag/component are inferred as part of the base component props, allowing us to use props like `href` on an 'a' element ect + * All native props for the supplied html tag/component are inferred as part of the base component props, allowing us to use props like `href` on an 'a' element etc */ export type PolymorphicProps = Props & Omit, 'as'> & {