Don’t set custom emojis `imageUrl` required

+ add missing prop types since #251
release
Etienne Lemay 2019-03-14 20:47:38 -04:00
parent e3bb26b894
commit dce1244b8a
No known key found for this signature in database
GPG Key ID: EE7CF89146BB28E9
1 changed files with 7 additions and 1 deletions

View File

@ -56,7 +56,13 @@ const PickerPropTypes = {
short_names: PropTypes.arrayOf(PropTypes.string).isRequired,
emoticons: PropTypes.arrayOf(PropTypes.string),
keywords: PropTypes.arrayOf(PropTypes.string),
imageUrl: PropTypes.string.isRequired,
imageUrl: PropTypes.string,
spriteUrl: PropTypes.string,
sheet_x: PropTypes.number,
sheet_y: PropTypes.number,
size: PropTypes.number,
sheetColumns: PropTypes.number,
sheetRows: PropTypes.number,
}),
),
skinEmoji: PropTypes.string,