Comparing version 2.0.0 to 2.0.1
@@ -63,5 +63,5 @@ 'use strict'; | ||
_htmlTags2.default.forEach(function (tag) { | ||
Tag[tag] = function (props) { | ||
return _react2.default.createElement(Tag, _extends({ is: tag }, props)); | ||
}; | ||
Tag[tag] = _react2.default.forwardRef(function (props, ref) { | ||
return _react2.default.createElement(Tag, _extends({ ref: ref, is: tag }, props)); | ||
}); | ||
Tag[tag].displayName = 'Clean.' + tag; | ||
@@ -68,0 +68,0 @@ }); |
@@ -36,3 +36,3 @@ import React from 'react' | ||
tags.forEach(tag => { | ||
Tag[tag] = props => React.createElement(Tag, { is: tag, ...props }) | ||
Tag[tag] = React.forwardRef((props, ref) => React.createElement(Tag, { ref, is: tag, ...props })) | ||
Tag[tag].displayName = 'Clean.' + tag | ||
@@ -39,0 +39,0 @@ }) |
{ | ||
"name": "clean-tag", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
16337
10
145
1