Merge pull request #245 from rtkhanas/master

Import compoments directly to avoid components/picker/index.js and have smaller bundle
release
Etienne Lemay 2018-11-13 08:47:18 -05:00 committed by GitHub
commit d54b7f2171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 3 deletions

View File

@ -3,7 +3,8 @@ import PropTypes from 'prop-types'
import frequently from '../utils/frequently'
import { getData } from '../utils'
import { NimbleEmoji, NotFound } from '.'
import NimbleEmoji from './emoji/nimble-emoji'
import NotFound from './not-found'
export default class Category extends React.Component {
constructor(props) {

View File

@ -10,7 +10,10 @@ import { deepMerge, measureScrollbar } from '../../utils'
import { uncompress } from '../../utils/data'
import { PickerPropTypes, PickerDefaultProps } from '../../utils/shared-props'
import { Anchors, Category, Preview, Search } from '..'
import Anchors from '../anchors'
import Category from '../category'
import Preview from '../preview'
import Search from '../search'
const I18N = {
search: 'Search',

View File

@ -2,7 +2,9 @@ import React from 'react'
import PropTypes from 'prop-types'
import { getData } from '../utils'
import { NimbleEmoji, SkinsEmoji, SkinsDot } from '.'
import NimbleEmoji from './emoji/nimble-emoji'
import SkinsEmoji from './skins-emoji'
import SkinsDot from './skins-dot'
export default class Preview extends React.PureComponent {
constructor(props) {