mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
react-tagsinput: correct naming and types: component to element (#36720)
* Plural * Correct naming and types: component -> element
This commit is contained in:
committed by
Andrew Branch
parent
e67dc39bf6
commit
aa92d591c9
Vendored
+1
-1
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user