Remove datasource query panel (metric panel) from simple react plugin

Hi, I am new to Grafana and I am creating a plugin in react, with the help of simple-react-plugin. I want to remove datasource query panel (only need panel editor). I am just wondering how to remove it.
As per simple-react-plugin I had imported:
import { PanelPlugin } from ‘@grafana/data’;
I was trying to change it to:
import { PanelPlugin } from ‘@grafana/ui’;
but it is giving me the error: @grafana/ui module has no exported member ‘PanelPlugin’.

Anybody can please help me on this…

I am giving answer to my own question.
I find the solution by adding “skipDataQuery”:true in plugin.json file.

1 Like