diff --git a/addons/info/src/components/markdown/text.js b/addons/info/src/components/markdown/text.js index f3385a4248ad..dae5f8f3a93e 100644 --- a/addons/info/src/components/markdown/text.js +++ b/addons/info/src/components/markdown/text.js @@ -42,8 +42,12 @@ export function A(props) { const style = { color: '#3498db', }; - return {props.children}; + return ( + + {props.children} + + ); } A.defaultProps = defaultProps; -A.propTypes = propTypes; +A.propTypes = { children: PropTypes.node, href: PropTypes.string.isRequired };