From 106514f6f2dbcf30bddb7c4905839eedd09f9f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Hsu=20=28=E5=BE=90=E6=89=BF=E5=BF=97=29?= Date: Mon, 12 Jun 2017 16:44:38 +0800 Subject: [PATCH] feat(Addon/info): use external links --- addons/info/src/components/markdown/text.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/addons/info/src/components/markdown/text.js b/addons/info/src/components/markdown/text.js index 6f24ee34e1a0..dae5f8f3a93e 100644 --- a/addons/info/src/components/markdown/text.js +++ b/addons/info/src/components/markdown/text.js @@ -42,7 +42,11 @@ export function A(props) { const style = { color: '#3498db', }; - return {props.children}; + return ( + + {props.children} + + ); } A.defaultProps = defaultProps;