import React from 'react' import ReactDOM from 'react-dom' import { Picker, Emoji } from '../src' const CUSTOM_EMOJIS = [ { name: 'Octocat', short_names: ['octocat'], keywords: ['github'], imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/octocat.png?v7' }, { name: 'Squirrel', short_names: ['shipit', 'squirrel'], keywords: ['github'], imageUrl: 'https://assets-cdn.github.com/images/icons/emoji/shipit.png?v7' } ] class Example extends React.Component { constructor(props) { super(props) this.state = { native: true, set: 'apple', emoji: 'point_up', title: 'Pick your emoji…', } } render() { return

Emoji Mart 🏬

{['native', 'apple', 'google', 'twitter', 'emojione', 'messenger', 'facebook'].map((set) => { var props = { disabled: !this.state.native && set == this.state.set } if (set == 'native' && this.state.native) { props.disabled = true } return })}
} } ReactDOM.render(, document.querySelector('div')) //