diff --git a/src/icon/index.js b/src/icon/index.js index 741cbc9..c2faa7c 100644 --- a/src/icon/index.js +++ b/src/icon/index.js @@ -13,6 +13,12 @@ if (window.EXT_SVG_DICT) { Object.assign(dict, EXT_SVG_DICT) } +export default { + extend(icons = {}) { + Object.assign(dict, icons) + } +} + class Icon extends Component { static props = { name: {