react-polymorphic-box
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -5,2 +5,4 @@ # Changelog | ||
### [3.0.3](https://github.com/kripod/react-polymorphic-box/compare/v3.0.2...v3.0.3) (2020-12-16) | ||
### [3.0.2](https://github.com/kripod/react-polymorphic-box/compare/v3.0.0...v3.0.2) (2020-11-01) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "react-polymorphic-box", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Building blocks for strongly typed polymorphic components in React.", | ||
@@ -87,4 +87,4 @@ "keywords": [ | ||
"peerDependencies": { | ||
"react": "^16.3.0" | ||
"react": ">=16.3" | ||
} | ||
} |
@@ -103,3 +103,3 @@ # react-polymorphic-box | ||
{ color, style, ...restProps }: HeadingProps<E>, | ||
innerRef: typeof restProps.ref | ||
ref: typeof restProps.ref | ||
) => { | ||
@@ -109,5 +109,5 @@ return ( | ||
as={defaultElement} | ||
ref={ref} | ||
style={{ color, ...style }} | ||
{...restProps} | ||
ref={innerRef} | ||
/> | ||
@@ -114,0 +114,0 @@ ); |
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
18635