Explorar el Código

use filled icons

afc163 hace 7 años
padre
commit
c1e9e800b1

+ 2 - 2
src/components/Result/demo/classic.md

@@ -15,7 +15,7 @@ const desc1 = (
   <div style={{ fontSize: 14, position: 'relative', left: 38 }}>
     <div style={{ marginTop: 8, marginBottom: 4 }}>
       曲丽丽
-      <Icon type="dingding-o" style={{ marginLeft: 8 }} />
+      <Icon type="dingding" style={{ marginLeft: 8 }} />
     </div>
     <div style={{ marginTop: 8, marginBottom: 4 }}>2016-12-12 12:32</div>
   </div>
@@ -25,7 +25,7 @@ const desc2 = (
   <div style={{ fontSize: 14, position: 'relative', left: 38 }}>
     <div style={{ marginTop: 8, marginBottom: 4 }}>
       周毛毛
-      <Icon type="dingding-o" style={{ color: '#00A0E9', marginLeft: 8 }} />
+      <Icon type="dingding" style={{ color: '#00A0E9', marginLeft: 8 }} />
     </div>
     <div style={{ marginTop: 8, marginBottom: 4 }}><a href="">催一下</a></div>
   </div>

+ 2 - 2
src/components/Result/demo/error.md

@@ -15,11 +15,11 @@ const extra = (
       您提交的内容有如下错误:
     </div>
     <div style={{ marginBottom: 16 }}>
-      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" />您的账户已被冻结
+      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle" />您的账户已被冻结
       <a style={{ marginLeft: 16 }}>立即解冻 <Icon type="right" /></a>
     </div>
     <div>
-      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle-o" />您的账户还不具备申请资格
+      <Icon style={{ color: '#f5222d', marginRight: 8 }} type="close-circle" />您的账户还不具备申请资格
       <a style={{ marginLeft: 16 }}>立即升级 <Icon type="right" /></a>
     </div>
   </div>

+ 2 - 2
src/components/Result/index.js

@@ -13,8 +13,8 @@ export default function Result({
   ...restProps
 }) {
   const iconMap = {
-    error: <Icon className={styles.error} type="close-circle" />,
-    success: <Icon className={styles.success} type="check-circle" />,
+    error: <Icon className={styles.error} type="close-circle" theme="filled" />,
+    success: <Icon className={styles.success} type="check-circle" theme="filled" />,
   };
   const clsString = classNames(styles.result, className);
   return (