Make custom prop not required in emoji-mart Picker component

It's not marked as required in the docs (https://github.com/missive/emoji-mart#picker)
This commit is contained in:
Adam Bowles
2018-09-27 10:46:02 +01:00
committed by GitHub
parent 3ee3f99b00
commit 8362477e28
+1 -1
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;