Skip to content

Commit ce208ae

Browse files
posvaphanan
authored andcommitted
Add Function type to props (#2026)
* Add Function type to props * add Promise contstructor prop type
1 parent 50589c5 commit ce208ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/v2/guide/components-props.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ props: {
4141
likes: Number,
4242
isPublished: Boolean,
4343
commentIds: Array,
44-
author: Object
44+
author: Object,
45+
callback: Function,
46+
contactsPromise: Promise // or any other constructor
4547
}
4648
```
4749

0 commit comments

Comments
 (0)