From 2485d0de62675b463f647039b72ce03fd9095468 Mon Sep 17 00:00:00 2001 From: HeskeyBaozi Date: Fri, 20 Jul 2018 17:09:26 +0800 Subject: [PATCH] hotfix: svg sprite demo --- components/icon/demo/svg-sprite.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/icon/demo/svg-sprite.md b/components/icon/demo/svg-sprite.md index 275ada74c6..ee3e31ff4d 100644 --- a/components/icon/demo/svg-sprite.md +++ b/components/icon/demo/svg-sprite.md @@ -18,7 +18,7 @@ import { Icon } from 'antd'; const DemoIcon = Icon.create({ prefix: 'demo-', - viewBox: '0 0 1024 1024', + extraCommonProps: { viewBox: '0 0 1024 1024' }, }); const svgSpriteRenderer = (nodeId, contents) => `