Update gh-pages
parent
dc4ca683d2
commit
769b55c875
4003
docs/bundle.js
4003
docs/bundle.js
File diff suppressed because one or more lines are too long
|
@ -87,6 +87,7 @@
|
||||||
|
|
||||||
.emoji-mart-scroll {
|
.emoji-mart-scroll {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
overflow-x: hidden;
|
||||||
height: 270px;
|
height: 270px;
|
||||||
padding: 0 6px 6px 6px;
|
padding: 0 6px 6px 6px;
|
||||||
will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */
|
will-change: transform; /* avoids "repaints on scroll" in mobile Chrome */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import ReactDOM from 'react-dom'
|
import ReactDOM from 'react-dom'
|
||||||
|
|
||||||
import { Picker, Emoji } from '../src'
|
import { Picker, Emoji } from '../dist'
|
||||||
|
|
||||||
const CUSTOM_EMOJIS = [
|
const CUSTOM_EMOJIS = [
|
||||||
{
|
{
|
||||||
|
@ -57,13 +57,7 @@ class Example extends React.Component {
|
||||||
|
|
||||||
<div className="row sets">
|
<div className="row sets">
|
||||||
Set:
|
Set:
|
||||||
{[
|
{['native', 'apple', 'google', 'twitter', 'facebook'].map((set) => {
|
||||||
'native',
|
|
||||||
'apple',
|
|
||||||
'google',
|
|
||||||
'twitter',
|
|
||||||
'facebook',
|
|
||||||
].map((set) => {
|
|
||||||
var props = {
|
var props = {
|
||||||
disabled: !this.state.native && set == this.state.set,
|
disabled: !this.state.native && set == this.state.set,
|
||||||
}
|
}
|
||||||
|
@ -93,7 +87,6 @@ class Example extends React.Component {
|
||||||
|
|
||||||
<div className="row-small sets">
|
<div className="row-small sets">
|
||||||
Theme:
|
Theme:
|
||||||
|
|
||||||
<button
|
<button
|
||||||
disabled={this.state.darkMode == undefined}
|
disabled={this.state.darkMode == undefined}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -102,7 +95,6 @@ class Example extends React.Component {
|
||||||
>
|
>
|
||||||
auto
|
auto
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
disabled={this.state.darkMode == false}
|
disabled={this.state.darkMode == false}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -111,7 +103,6 @@ class Example extends React.Component {
|
||||||
>
|
>
|
||||||
light
|
light
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button
|
<button
|
||||||
disabled={this.state.darkMode}
|
disabled={this.state.darkMode}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
|
Loading…
Reference in New Issue