Merge pull request #28 from savardc/master

Allow passing children to Emoji component
release
Etienne Lemay 2016-12-07 20:55:47 -05:00 committed by GitHub
commit 554ad41edb
1 changed files with 1 additions and 1 deletions

View File

@ -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