Ensure only props are passed to propControl

This commit is contained in:
pngwn 2020-01-20 12:28:05 +00:00
parent 6f75bdbee6
commit d31745fb02
1 changed files with 9 additions and 9 deletions

View File

@ -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")