From 496ce3ee858f3ef5601e747cf3ca7243cf3ae632 Mon Sep 17 00:00:00 2001 From: Christian Savard Date: Tue, 9 May 2017 11:03:05 -0400 Subject: [PATCH] Update to latest emoji-datasource --- package.json | 2 +- src/components/emoji.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8079b07..7c69bbb 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "babel-plugin-transform-object-rest-spread": "6.8.0", "babel-preset-es2015": "6.6.0", "babel-preset-react": "6.5.0", - "emoji-datasource": "2.4.4", + "emoji-datasource": "^3.0.0", "emojilib": "2.0.2", "inflection": "1.10.0", "jasmine-core": "^2.5.2", diff --git a/src/components/emoji.js b/src/components/emoji.js index 4b443b3..189d556 100644 --- a/src/components/emoji.js +++ b/src/components/emoji.js @@ -3,7 +3,7 @@ import data from '../../data' import { getData, getSanitizedData, unifiedToNative } from '../utils' -const SHEET_COLUMNS = 41 +const SHEET_COLUMNS = 49 export default class Emoji extends React.Component { constructor(props) { @@ -123,7 +123,7 @@ Emoji.propTypes = { Emoji.defaultProps = { skin: 1, set: 'apple', - sheetSize: 64, + sheetSize: 32, native: false, forceSize: false, backgroundImageFn: ((set, sheetSize) => `https://unpkg.com/emoji-datasource@${EMOJI_DATASOURCE_VERSION}/sheet_${set}_${sheetSize}.png`),