From f2467a1f69e4977374d2f8544966e842e4ecf3aa Mon Sep 17 00:00:00 2001 From: HeskeyBaozi Date: Mon, 3 Sep 2018 12:12:28 +0800 Subject: [PATCH] fix: can not use iconfont --- .gitignore | 1 + .../__snapshots__/index.test.js.snap | 48 ++++++++++++++++--- 2 files changed, 43 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 10913cedf7..85de2b9078 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,4 @@ components/**/*.jsx # Docs templates site/theme/template/IconDisplay/*.js site/theme/template/IconDisplay/*.jsx +site/theme/template/IconDisplay/fields.js diff --git a/components/icon/__tests__/__snapshots__/index.test.js.snap b/components/icon/__tests__/__snapshots__/index.test.js.snap index 293e1d43aa..a25aa2f5f1 100644 --- a/components/icon/__tests__/__snapshots__/index.test.js.snap +++ b/components/icon/__tests__/__snapshots__/index.test.js.snap @@ -331,13 +331,49 @@ exports[`Icon.createFromIconfontCN() should support iconfont.cn 1`] = ` class="icons-list" > + class="anticon" + > + + + class="anticon" + > + + + class="anticon" + > + + `;