From 771b1e48f38b25bca6c37741f36b3d96e3a86370 Mon Sep 17 00:00:00 2001 From: Christian Savard Date: Wed, 7 Dec 2016 15:04:39 -0500 Subject: [PATCH] Use children passed through props --- src/components/emoji.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/emoji.js b/src/components/emoji.js index b31ce37..8a3a6d6 100644 --- a/src/components/emoji.js +++ b/src/components/emoji.js @@ -62,7 +62,7 @@ export default class Emoji extends React.Component { var { set, size, sheetSize, native, onOver, onLeave, backgroundImageFn } = this.props, { unified } = this.getData(), style = {}, - children = null + children = this.props.children if (!unified) { return null