New panel edit: field overrides ui (#22036)

* Add title editor

* Wip

* FIeld config overrides UI (v1)

* Basic property override editors

* name to prop

* use prop not path

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
This commit is contained in:
Dominik Prokop
2020-02-09 14:34:42 +01:00
committed by GitHub
parent 25431f32f0
commit 1728742096
9 changed files with 215 additions and 41 deletions

View File

@@ -240,7 +240,11 @@ export class PanelEditor extends PureComponent<Props, State> {
}
if (plugin.editor && panel) {
return <plugin.editor data={data} options={panel.getOptions()} onOptionsChange={this.onPanelOptionsChanged} />;
return (
<div style={{ marginTop: '40px' }}>
<plugin.editor data={data} options={panel.getOptions()} onOptionsChange={this.onPanelOptionsChanged} />
</div>
);
}
return <div>No editor (angular?)</div>;