forked from missive/emoji-mart
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: actually remove prop-types from build
fixes missive#257
- Loading branch information
1 parent
7c2e2a8
commit 19f6876
Showing
17 changed files
with
86 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
const EmojiDefaultProps = { | ||
skin: 1, | ||
set: 'apple', | ||
sheetSize: 64, | ||
sheetColumns: 52, | ||
sheetRows: 52, | ||
native: false, | ||
forceSize: false, | ||
tooltip: false, | ||
backgroundImageFn: (set, sheetSize) => | ||
`https://unpkg.com/emoji-datasource-${set}@${EMOJI_DATASOURCE_VERSION}/img/${set}/sheets-256/${sheetSize}.png`, | ||
onOver: () => {}, | ||
onLeave: () => {}, | ||
onClick: () => {}, | ||
} | ||
|
||
const PickerDefaultProps = { | ||
onClick: () => {}, | ||
onSelect: () => {}, | ||
onSkinChange: () => {}, | ||
emojiSize: 24, | ||
perLine: 9, | ||
i18n: {}, | ||
style: {}, | ||
title: 'Emoji Mart™', | ||
emoji: 'department_store', | ||
color: '#ae65c5', | ||
set: EmojiDefaultProps.set, | ||
skin: null, | ||
defaultSkin: EmojiDefaultProps.skin, | ||
native: EmojiDefaultProps.native, | ||
sheetSize: EmojiDefaultProps.sheetSize, | ||
backgroundImageFn: EmojiDefaultProps.backgroundImageFn, | ||
emojisToShowFilter: null, | ||
showPreview: true, | ||
showSkinTones: true, | ||
emojiTooltip: EmojiDefaultProps.tooltip, | ||
autoFocus: false, | ||
custom: [], | ||
skinEmoji: '', | ||
notFound: () => {}, | ||
notFoundEmoji: 'sleuth_or_spy', | ||
icons: {}, | ||
} | ||
|
||
export { PickerDefaultProps, EmojiDefaultProps } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters