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