Update gh-pages

release
Etienne Lemay 2020-03-16 10:32:38 -04:00
parent dc4ca683d2
commit 769b55c875
3 changed files with 2940 additions and 2325 deletions

File diff suppressed because one or more lines are too long

View File

@ -87,6 +87,7 @@
.emoji-mart-scroll {
overflow-y: scroll;
overflow-x: hidden;
height: 270px;
padding: 0 6px 6px 6px;
will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */

View File

@ -1,7 +1,7 @@
import React from 'react'
import ReactDOM from 'react-dom'
import { Picker, Emoji } from '../src'
import { Picker, Emoji } from '../dist'
const CUSTOM_EMOJIS = [
{
@ -57,13 +57,7 @@ class Example extends React.Component {
<div className="row sets">
Set: 
{[
'native',
'apple',
'google',
'twitter',
'facebook',
].map((set) => {
{['native', 'apple', 'google', 'twitter', 'facebook'].map((set) => {
var props = {
disabled: !this.state.native && set == this.state.set,
}
@ -93,7 +87,6 @@ class Example extends React.Component {
<div className="row-small sets">
Theme: 
<button
disabled={this.state.darkMode == undefined}
onClick={() => {
@ -102,7 +95,6 @@ class Example extends React.Component {
>
auto
</button>
<button
disabled={this.state.darkMode == false}
onClick={() => {
@ -111,7 +103,6 @@ class Example extends React.Component {
>
light
</button>
<button
disabled={this.state.darkMode}
onClick={() => {