We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d904917 commit abe1aa8Copy full SHA for abe1aa8
front-end/h5/src/components/core/models/element.js
@@ -61,11 +61,6 @@ class Element {
61
uuid: this.uuid
62
}
63
Object.keys(props).forEach(key => {
64
- // #6
65
- if (key === 'name') {
66
- console.warn('Please do not use {name} as plugin prop')
67
- return
68
- }
69
const defaultValue = props[key].default
70
pluginProps[key] = typeof defaultValue === 'function' ? defaultValue() : defaultValue
71
})
0 commit comments