From 8362477e28fca812e4613c7306eebdd42728ba04 Mon Sep 17 00:00:00 2001 From: Adam Bowles Date: Thu, 27 Sep 2018 10:46:02 +0100 Subject: [PATCH] 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) --- types/emoji-mart/dist-es/utils/shared-props.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/emoji-mart/dist-es/utils/shared-props.d.ts b/types/emoji-mart/dist-es/utils/shared-props.d.ts index c091e24556..dd25df9d09 100644 --- a/types/emoji-mart/dist-es/utils/shared-props.d.ts +++ b/types/emoji-mart/dist-es/utils/shared-props.d.ts @@ -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;