Update to latest emoji-datasource
parent
84e0f68e76
commit
496ce3ee85
|
@ -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",
|
||||
|
|
|
@ -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`),
|
||||
|
|
Loading…
Reference in New Issue