diff --git a/components/switch/demo/text.md b/components/switch/demo/text.md index 6d09eeb2f3..4593dac815 100644 --- a/components/switch/demo/text.md +++ b/components/switch/demo/text.md @@ -8,11 +8,12 @@ ````jsx var Switch = antd.Switch; +var Icon = antd.Icon; var container = document.getElementById('components-switch-demo-text'); React.render(
- } unCheckedChildren={} /> + } unCheckedChildren={} />
, container); ````