[DOC] props validation: The validation type should be a String object.

This commit is contained in:
Jigar Patel
2020-06-21 15:34:13 +05:30
committed by Géry Debongnie
parent 8e03f9cd9c
commit 9baea2c1cd
+1 -1
View File
@@ -30,7 +30,7 @@ class ComponentB extends owl.Component {
count: {type: Number}, count: {type: Number},
messages: { messages: {
type: Array, type: Array,
element: {type: Object, shape: {id: Boolean, text: 'string' } element: {type: Object, shape: {id: Boolean, text: String }
}, },
date: Date, date: Date,
combinedVal: [Number, Boolean] combinedVal: [Number, Boolean]