Commit d3f31e39df17d295f624b81aaf5e2119fd863ef5

Authored by 梁灏
1 parent f9d5b27b

update Notice Icons

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/components/notice/index.js
... ... @@ -57,11 +57,12 @@ function notice (type, options) {
57 57 `;
58 58 } else {
59 59 const iconType = iconTypes[type];
  60 + const outlineIcon = with_desc === '' ? '' : '-outline';
60 61 withIcon = true;
61 62 content = `
62 63 <div class="${prefixCls}-custom-content ${prefixCls}-with-icon ${prefixCls}-with-${type} ${with_desc}">
63 64 <span class="${prefixCls}-icon ${prefixCls}-icon-${type}">
64   - <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}"></i>
  65 + <i class="${iconPrefixCls} ${iconPrefixCls}-${iconType}${outlineIcon}"></i>
65 66 </span>
66 67 <div class="${prefixCls}-title">${title}</div>
67 68 <div class="${prefixCls}-desc">${desc}</div>
... ...