@radix-ui/react-polymorphic
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -29,5 +29,5 @@ import * as React from "react"; | ||
*/ | ||
<As extends keyof JSX.IntrinsicElements | React.JSXElementConstructor<any> = NarrowIntrinsic<IntrinsicElementString>>(props: As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & { | ||
<As extends keyof JSX.IntrinsicElements | React.ComponentType<any> = NarrowIntrinsic<IntrinsicElementString>>(props: As extends keyof JSX.IntrinsicElements ? Merge<JSX.IntrinsicElements[As], OwnProps & { | ||
as: As; | ||
}> : As extends React.JSXElementConstructor<infer P> ? Merge<P, OwnProps & { | ||
}> : As extends React.ComponentType<infer P> ? Merge<P, OwnProps & { | ||
as: As; | ||
@@ -34,0 +34,0 @@ }> : never): React.ReactElement | null; |
{ | ||
"name": "@radix-ui/react-polymorphic", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"license": "MIT", | ||
@@ -32,6 +32,3 @@ "source": "src/index.ts", | ||
"url": "https://github.com/radix-ui/primitives/issues" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.13.10" | ||
} | ||
} |
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
1
4282
- Removed@babel/runtime@^7.13.10
- Removed@babel/runtime@7.25.6(transitive)
- Removedregenerator-runtime@0.14.1(transitive)