Skip to content
Snippets Groups Projects
Commit 1bc312f2 authored by David Sehnal's avatar David Sehnal
Browse files

Merge branch 'plugin'

parents 8c13f7b8 707603b8
No related branches found
No related tags found
No related merge requests found
......@@ -59,9 +59,11 @@ function controlFor(param: PD.Any): ParamControl | undefined {
case 'group': return GroupControl;
case 'mapped': return MappedControl;
case 'line-graph': return LineGraphControl;
default:
const _: never = param;
console.warn(`${_} has no associated UI component`);
return void 0;
}
console.warn(`${(param as any).type} has no associated UI component.`);
return void 0;
}
// type ParamWrapperProps = { name: string, value: any, param: PD.Base<any>, onChange: ParamOnChange, control: ValueControl, onEnter?: () => void, isEnabled?: boolean }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment