From e14cb561b15a6f4191885652d432781ee4c3c9e1 Mon Sep 17 00:00:00 2001 From: Nick Saunders Date: Fri, 5 Jul 2024 19:36:44 -0700 Subject: [PATCH] Update docs. --- docs/api/react.componentprops.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/api/react.componentprops.md b/docs/api/react.componentprops.md index 68d4880..93129ff 100644 --- a/docs/api/react.componentprops.md +++ b/docs/api/react.componentprops.md @@ -14,7 +14,9 @@ P, C extends string, Is extends keyof JSX.IntrinsicElements | React.JSXElementConstructor, InlineConditionName extends string, -OwnProps = (string extends C +OwnProps = { + is?: Is; +} & (string extends C ? unknown : { conditions?: { @@ -35,9 +37,7 @@ Partial<{ ? P[PropName] : never; }>, -> = { - is?: Is; -} & Omit< +> = Omit< JSX.LibraryManagedAttributes>, keyof OwnProps > &