Use children passed through props
parent
462ba0cd26
commit
771b1e48f3
|
@ -62,7 +62,7 @@ export default class Emoji extends React.Component {
|
||||||
var { set, size, sheetSize, native, onOver, onLeave, backgroundImageFn } = this.props,
|
var { set, size, sheetSize, native, onOver, onLeave, backgroundImageFn } = this.props,
|
||||||
{ unified } = this.getData(),
|
{ unified } = this.getData(),
|
||||||
style = {},
|
style = {},
|
||||||
children = null
|
children = this.props.children
|
||||||
|
|
||||||
if (!unified) {
|
if (!unified) {
|
||||||
return null
|
return null
|
||||||
|
|
Loading…
Reference in New Issue