@interop-ui/react-polymorphic
Advanced tools
Comparing version 0.0.1-0 to 0.0.1-1
import * as React from "react"; | ||
type MergeProps<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & P2; | ||
type NeverKeys<T> = { | ||
[P in keyof T]: T[P] extends never ? P : never; | ||
}[keyof T]; | ||
type MergeProps<P1 = {}, P2 = {}> = Omit<P1, keyof P2> & (NeverKeys<P2> extends never ? P2 : Omit<P2, NeverKeys<P2>>); | ||
type MergeWithDOMProps<E extends React.ElementType, P = {}> = MergeProps<React.ComponentPropsWithRef<E>, P>; | ||
@@ -4,0 +7,0 @@ export interface ForwardRefExoticComponentWithAs<DefaultElement extends keyof JSX.IntrinsicElements, OwnProps |
{ | ||
"name": "@interop-ui/react-polymorphic", | ||
"version": "0.0.1-0", | ||
"version": "0.0.1-1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "source": "src/index.ts", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15600
63