From aa92d591c91a3e6c8187cf4a27ea7713b3192ede Mon Sep 17 00:00:00 2001 From: Oliver Joseph Ash Date: Tue, 16 Jul 2019 22:26:56 +0100 Subject: [PATCH] react-tagsinput: correct naming and types: component to element (#36720) * Plural * Correct naming and types: component -> element --- types/react-tagsinput/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react-tagsinput/index.d.ts b/types/react-tagsinput/index.d.ts index 96f21fcb20..945d207475 100644 --- a/types/react-tagsinput/index.d.ts +++ b/types/react-tagsinput/index.d.ts @@ -43,7 +43,7 @@ declare namespace TagsInput { readonly tag: Tag; } - type RenderLayout = (tagComponent: React.Component[], inputComponent: React.Component) => React.ReactChild; + type RenderLayout = (tagElements: React.ReactElement[], inputElement: React.ReactElement) => React.ReactChild; interface ReactTagsInputProps extends React.Props { value: Tag[];