Update to latest emoji-datasource

nolan/hinaloe-test
Christian Savard 2017-05-09 11:03:05 -04:00
parent 84e0f68e76
commit 496ce3ee85
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
"babel-plugin-transform-object-rest-spread": "6.8.0", "babel-plugin-transform-object-rest-spread": "6.8.0",
"babel-preset-es2015": "6.6.0", "babel-preset-es2015": "6.6.0",
"babel-preset-react": "6.5.0", "babel-preset-react": "6.5.0",
"emoji-datasource": "2.4.4", "emoji-datasource": "^3.0.0",
"emojilib": "2.0.2", "emojilib": "2.0.2",
"inflection": "1.10.0", "inflection": "1.10.0",
"jasmine-core": "^2.5.2", "jasmine-core": "^2.5.2",

View File

@ -3,7 +3,7 @@ import data from '../../data'
import { getData, getSanitizedData, unifiedToNative } from '../utils' import { getData, getSanitizedData, unifiedToNative } from '../utils'
const SHEET_COLUMNS = 41 const SHEET_COLUMNS = 49
export default class Emoji extends React.Component { export default class Emoji extends React.Component {
constructor(props) { constructor(props) {
@ -123,7 +123,7 @@ Emoji.propTypes = {
Emoji.defaultProps = { Emoji.defaultProps = {
skin: 1, skin: 1,
set: 'apple', set: 'apple',
sheetSize: 64, sheetSize: 32,
native: false, native: false,
forceSize: false, forceSize: false,
backgroundImageFn: ((set, sheetSize) => `https://unpkg.com/emoji-datasource@${EMOJI_DATASOURCE_VERSION}/sheet_${set}_${sheetSize}.png`), backgroundImageFn: ((set, sheetSize) => `https://unpkg.com/emoji-datasource@${EMOJI_DATASOURCE_VERSION}/sheet_${set}_${sheetSize}.png`),