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[];