@kano/kbc-icons
Advanced tools
Comparing version 2.0.0-alpha.0 to 2.0.1-alpha.0
/// <reference types="react" /> | ||
interface IconProps { | ||
export interface IconProps { | ||
name: string; | ||
@@ -4,0 +4,0 @@ size?: string; |
@@ -8,3 +8,3 @@ "use strict"; | ||
const icons = require('./assets/index.js'); | ||
exports.KbcIcon = ({ name, size, animate = false, noClass = false }) => { | ||
exports.KbcIcon = ({ name, size = '', animate = false, noClass = false }) => { | ||
const MatchedIcon = icons[name] || false; | ||
@@ -11,0 +11,0 @@ if (MatchedIcon) { |
{ | ||
"name": "@kano/kbc-icons", | ||
"version": "2.0.0-alpha.0", | ||
"version": "2.0.1-alpha.0", | ||
"description": "Icons for boilerplate components", | ||
@@ -26,3 +26,3 @@ "author": "Kano Computing", | ||
}, | ||
"gitHead": "ef705339df7b6d8e8ffecf28dc56c7412b1a450a" | ||
"gitHead": "058c42a4d4c57729a5b1a5ec8aba493bd496eb81" | ||
} |
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
2674