index.tsx 615 B

1234567891011121314151617181920
  1. import type BasePlugin from 'sentry/plugins/basePlugin';
  2. import DefaultIssuePlugin from 'sentry/plugins/defaultIssuePlugin';
  3. import IssueActions from './components/issueActions';
  4. import Settings from './components/settings';
  5. class Jira extends DefaultIssuePlugin {
  6. displayName = 'Jira';
  7. renderSettings(props: Parameters<typeof BasePlugin.prototype.renderSettings>[0]) {
  8. return <Settings plugin={this.plugin} {...props} />;
  9. }
  10. renderGroupActions(
  11. props: Parameters<typeof DefaultIssuePlugin.prototype.renderGroupActions>[0]
  12. ) {
  13. return <IssueActions {...props} />;
  14. }
  15. }
  16. export default Jira;