ExamplePage1.tsx 529 B

12345678910111213141516171819202122232425
  1. // Libraries
  2. import React, { PureComponent } from 'react';
  3. // Types
  4. import { PluginConfigPageProps, AppPlugin } from '@grafana/ui';
  5. interface Props extends PluginConfigPageProps<AppPlugin> {}
  6. export class ExamplePage1 extends PureComponent<Props> {
  7. constructor(props: Props) {
  8. super(props);
  9. }
  10. render() {
  11. const { query } = this.props;
  12. return (
  13. <div>
  14. 11111111111111111111111111111111
  15. <pre>{JSON.stringify(query)}</pre>
  16. 11111111111111111111111111111111
  17. </div>
  18. );
  19. }
  20. }