react-tagsinput: correct naming and types: component to element (#36720)

* Plural

* Correct naming and types: component -> element
This commit is contained in:
Oliver Joseph Ash
2019-07-16 14:26:56 -07:00
committed by Andrew Branch
parent e67dc39bf6
commit aa92d591c9
+1 -1
View File
@@ -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<TagsInput> {
value: Tag[];