diff --git a/lib/create-icon-set.js b/lib/create-icon-set.js index 88313e3fa..e798812a3 100644 --- a/lib/create-icon-set.js +++ b/lib/create-icon-set.js @@ -88,7 +88,7 @@ export default function createIconSet( props.ref = this.handleRef; return ( - + {glyph} {children} diff --git a/lib/icon-button.js b/lib/icon-button.js index a6e6cdf73..efef32836 100644 --- a/lib/icon-button.js +++ b/lib/icon-button.js @@ -120,7 +120,9 @@ export default function createIconButtonComponent(Icon) { {typeof children === 'string' ? ( - {children} + + {children} + ) : ( children )}