Ensure only props are passed to propControl
This commit is contained in:
parent
6f75bdbee6
commit
d31745fb02
|
@ -34,7 +34,7 @@ $: {
|
|||
? getInstanceProps(componentInfo, instanceProps)
|
||||
: cloneDeep(componentInfo.fullProps);
|
||||
|
||||
propsDefinitions = pipe(componentInfo.propsDefinition, [
|
||||
propsDefinitions = pipe(componentInfo.propsDefinition.props, [
|
||||
keys,
|
||||
map(k => ({...componentInfo.propsDefinition[k], ____name:k})),
|
||||
sortBy("____name")
|
||||
|
|
Loading…
Reference in New Issue