Use emoji-datasource subpackages for sheets

release
Etienne Lemay 2017-05-27 10:54:55 -04:00
parent b2d9311c87
commit a4d0b6b410
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ Emoji.defaultProps = {
sheetSize: 64, sheetSize: 64,
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-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets/${sheetSize}.png`),
onOver: (() => {}), onOver: (() => {}),
onLeave: (() => {}), onLeave: (() => {}),
onClick: (() => {}), onClick: (() => {}),