@clayui/icon
Advanced tools
Comparing version 3.0.0-milestone.3 to 3.0.0
@@ -8,3 +8,3 @@ import React from 'react'; | ||
} | ||
declare const ClayIcon: React.FunctionComponent<IProps>; | ||
declare const ClayIcon: React.ForwardRefExoticComponent<IProps & React.RefAttributes<SVGSVGElement>>; | ||
export default ClayIcon; |
@@ -28,3 +28,3 @@ "use strict"; | ||
var ClayIcon = function ClayIcon(_ref) { | ||
var ClayIcon = _react.default.forwardRef(function (_ref, ref) { | ||
var className = _ref.className, | ||
@@ -44,2 +44,3 @@ spritemap = _ref.spritemap, | ||
className: (0, _classnames.default)("lexicon-icon lexicon-icon-".concat(symbol), className), | ||
ref: ref, | ||
role: "presentation" | ||
@@ -49,5 +50,5 @@ }), _react.default.createElement("use", { | ||
})); | ||
}; | ||
}); | ||
var _default = ClayIcon; | ||
exports.default = _default; |
{ | ||
"name": "@clayui/icon", | ||
"version": "3.0.0-milestone.3", | ||
"version": "3.0.0", | ||
"description": "ClayIcon component", | ||
@@ -33,2 +33,3 @@ "license": "BSD-3-Clause", | ||
"peerDependencies": { | ||
"@clayui/css": "3.x", | ||
"react": "^16.8.1", | ||
@@ -41,6 +42,4 @@ "react-dom": "^16.8.1" | ||
"devDependencies": { | ||
"@clayui/css": "^3.0.0-milestone.3", | ||
"@types/warning": "^3.0.0" | ||
}, | ||
"gitHead": "e366fbb41e276e3da2fc8b0d48f0e12d8b2e3c14" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
1
7039
5
7
120