Use children passed through props

release
Christian Savard 2016-12-07 15:04:39 -05:00
parent 462ba0cd26
commit 771b1e48f3
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