diff --git a/packages/@mantine/core/src/core/factory/create-polymorphic-component.ts b/packages/@mantine/core/src/core/factory/create-polymorphic-component.ts index 5bc066e5775..c57891211df 100644 --- a/packages/@mantine/core/src/core/factory/create-polymorphic-component.ts +++ b/packages/@mantine/core/src/core/factory/create-polymorphic-component.ts @@ -33,7 +33,7 @@ export function createPolymorphicComponent< type ComponentProps = PolymorphicComponentProps; type _PolymorphicComponent = ( - props: ComponentProps + props: ComponentProps & Props ) => React.ReactElement; type ComponentProperties = Omit>, never>;