Merge pull request #29218 from adambowles/patch-2

Make custom prop not required in emoji-mart Picker component
This commit is contained in:
Andrew Casey
2018-09-27 18:15:52 -07:00
committed by GitHub

View File

@@ -75,7 +75,7 @@ export interface PickerProps {
recent?: string[];
autoFocus?: boolean;
/** NOTE: custom emoji are copied into a singleton object on every new mount */
custom: CustomEmoji[];
custom?: CustomEmoji[];
skinEmoji?: string;
notFound?(): React.Component;
notFoundEmoji?: string;