Skip to content

undefined is not an object (evaluating 'this._onEmoticonPress.bind') react native "0.45.1"  #14770

@sachinsinghh

Description

@sachinsinghh

import Emoticons from 'react-native-emoticons';

export default class Decker extends Component {
_emojiSelected(emoji) {
console.log(emoji)
}

    <Emoticons
 onEmoticonPress={this._onEmoticonPress.bind(this)}
 onBackspacePress={this._onBackspacePress.bind(this)}
 show={this.state.showEmoticons}
 concise={true}
 showHistoryBar={true}
 showPlusBar={true}

/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions