@kano/kbc-icons
Advanced tools
Comparing version 3.0.1-alpha.0 to 3.0.2-alpha.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const react_1 = require("react"); | ||
const React = require("react"); | ||
const icons = require('./assets/index.js'); | ||
@@ -8,8 +8,8 @@ exports.KbcIcon = ({ name, size = '', animate = false, noClass = false }) => { | ||
if (MatchedIcon) { | ||
return (react_1.default.createElement("span", { className: `${noClass ? '' : 'icon'}${size ? ` icon--${size}` : ''}${animate ? ' animate--rotate-anticlockwise' : ''}` }, | ||
react_1.default.createElement(MatchedIcon, null))); | ||
return (React.createElement("span", { className: `${noClass ? '' : 'icon'}${size ? ` icon--${size}` : ''}${animate ? ' animate--rotate-anticlockwise' : ''}` }, | ||
React.createElement(MatchedIcon, null))); | ||
} | ||
return react_1.default.createElement(react_1.default.Fragment, null); | ||
return React.createElement(React.Fragment, null); | ||
}; | ||
exports.default = exports.KbcIcon; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@kano/kbc-icons", | ||
"version": "3.0.1-alpha.0", | ||
"version": "3.0.2-alpha.0", | ||
"description": "Icons for boilerplate components", | ||
@@ -32,3 +32,3 @@ "author": "Kano Computing", | ||
}, | ||
"gitHead": "88c09533515fcdcbb275e0a8f94d7eaa54433de7" | ||
"gitHead": "37726d23f160154373eb6135855f3c5a6116f514" | ||
} |
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
73391