From 6ffeee303949a706828b29d91e5b85d4c1bda063 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Fri, 22 Feb 2019 12:16:35 +0100 Subject: [PATCH] Add Function type to props (#2026) * Add Function type to props * add Promise contstructor prop type --- src/v2/guide/components-props.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/v2/guide/components-props.md b/src/v2/guide/components-props.md index 7f98a262f..49ac2dd1c 100644 --- a/src/v2/guide/components-props.md +++ b/src/v2/guide/components-props.md @@ -42,7 +42,9 @@ props: { likes: Number, isPublished: Boolean, commentIds: Array, - author: Object + author: Object, + callback: Function, + contactsPromise: Promise // or any other constructor } ```