TestInfoTab.tsx 840 B

12345678910111213141516171819202122232425262728293031323334
  1. // Libraries
  2. import React, { PureComponent } from 'react';
  3. import { PluginConfigPageProps, DataSourcePluginMeta, DataSourceJsonData } from '@grafana/data';
  4. import { LinkButton } from '@grafana/ui';
  5. // Types
  6. interface Props extends PluginConfigPageProps<DataSourcePluginMeta<DataSourceJsonData>> {}
  7. export class TestInfoTab extends PureComponent<Props> {
  8. constructor(props: Props) {
  9. super(props);
  10. }
  11. render() {
  12. return (
  13. <div>
  14. See github for more information about setting up a reproducible test environment.
  15. <br />
  16. <br />
  17. <LinkButton
  18. variant="secondary"
  19. href="https://github.com/grafana/grafana/tree/main/devenv"
  20. target="_blank"
  21. rel="noopener noreferrer"
  22. >
  23. GitHub
  24. </LinkButton>
  25. <br />
  26. </div>
  27. );
  28. }
  29. }