1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00

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

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