mirror of
https://github.com/grafana/grafana.git
synced 2025-02-13 00:55:47 -06:00
18 lines
458 B
TypeScript
18 lines
458 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
import { OptionsPaneCategory } from 'app/features/dashboard/components/PanelEditor/OptionsPaneCategory';
|
||
|
|
||
|
import { SceneObject } from '../core/types';
|
||
|
|
||
|
export interface Props {
|
||
|
model: SceneObject;
|
||
|
}
|
||
|
|
||
|
export function SceneObjectEditor({ model }: Props) {
|
||
|
return (
|
||
|
<OptionsPaneCategory id="props" title="Properties" forceOpen={1}>
|
||
|
<model.Editor model={model} key={model.state.key} />
|
||
|
</OptionsPaneCategory>
|
||
|
);
|
||
|
}
|