diff --git a/lib/extract/extractText.js b/lib/extract/extractText.js index 5d8fb98c..b7e628d9 100644 --- a/lib/extract/extractText.js +++ b/lib/extract/extractText.js @@ -105,7 +105,7 @@ export default function(props, container) { content = childrenString; children = null; } - } else if (Children.count(children) > 1) { + } else if (Children.count(children) > 1 || Array.isArray(children)) { children = Children.map(children, child => { if (typeof child === 'string' || typeof child === 'number') { return {child.toString()};