Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
EmojiVirtualListState
> {
static propTypes = {
activeEmoji: EmojiShape,
activeGroup: PropTypes.string.isRequired,
columnCount: PropTypes.number.isRequired,
columnPadding: PropTypes.number,
commonEmojis: PropTypes.arrayOf(EmojiShape).isRequired,
commonMode: PropTypes.string.isRequired,
context: ContextShape.isRequired,
disableGroups: PropTypes.bool.isRequired,
emojiPadding: PropTypes.number.isRequired,
emojiPath: PathShape.isRequired,
emojis: PropTypes.arrayOf(EmojiShape).isRequired,
emojiSize: PropTypes.number.isRequired,
emojiSource: SourceShape.isRequired,
hideGroupHeaders: PropTypes.bool.isRequired,
onEnterEmoji: PropTypes.func.isRequired,
onLeaveEmoji: PropTypes.func.isRequired,
onScroll: PropTypes.func.isRequired,
onScrollGroup: PropTypes.func.isRequired,
onSelectEmoji: PropTypes.func.isRequired,
rowCount: PropTypes.number.isRequired,
rowPadding: PropTypes.number,
scrollToGroup: PropTypes.string.isRequired,
searching: PropTypes.bool.isRequired,
skinTonePalette: PropTypes.node,
};
static defaultProps = {
activeEmoji: null,
columnPadding: 0,