Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest emoji-datasource #78

Merged
merged 8 commits into from
May 27, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update to latest emoji-datasource
  • Loading branch information
savardc committed May 9, 2017
commit 496ce3ee858f3ef5601e747cf3ca7243cf3ae632
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions src/components/emoji.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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`),
Expand Down