Comparing version 0.0.32 to 0.0.33
@@ -13,2 +13,4 @@ /** @jsx createElement */ | ||
exports.setIconConfig = setIconConfig; | ||
var _rax = require('rax'); | ||
@@ -52,2 +54,8 @@ | ||
var iconConfigs = _code2.default; | ||
function setIconConfig(config) { | ||
iconConfigs = config; | ||
} | ||
var Icon = function (_Component) { | ||
@@ -69,4 +77,4 @@ _inherits(Icon, _Component); | ||
var fontURL = _code2.default[version].url; | ||
var fontName = _code2.default[version].fontName; | ||
var fontURL = iconConfigs[version].url; | ||
var fontName = iconConfigs[version].fontName; | ||
@@ -106,3 +114,3 @@ (0, _nukeIconfont2.default)({ name: fontName, url: fontURL }); | ||
var iconConfig = _code2.default[version]; | ||
var iconConfig = iconConfigs[version]; | ||
var styles = this.props.themeStyle; | ||
@@ -170,3 +178,2 @@ | ||
exports.default = StyledIcon; | ||
module.exports = exports['default']; | ||
exports.default = StyledIcon; |
{ | ||
"name": "rox-icon", | ||
"version": "0.0.32", | ||
"version": "0.0.33", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
10235
264