Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
nsaunders committed Jul 6, 2024
1 parent 3f900c4 commit e14cb56
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/api/react.componentprops.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ P,
C extends string,
Is extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any>,
InlineConditionName extends string,
OwnProps = (string extends C
OwnProps = {
is?: Is;
} & (string extends C
? unknown
: {
conditions?: {
Expand All @@ -35,9 +37,7 @@ Partial<{
? P[PropName]
: never;
}>,
> = {
is?: Is;
} & Omit<
> = Omit<
JSX.LibraryManagedAttributes<Is, ComponentPropsWithRef<Is>>,
keyof OwnProps
> &
Expand Down

0 comments on commit e14cb56

Please sign in to comment.