defaultIssuePlugin.tsx 676 B

1234567891011121314151617181920212223
  1. import BasePlugin from 'sentry/plugins/basePlugin';
  2. import IssueActions from 'sentry/plugins/components/issueActions';
  3. import type {Group} from 'sentry/types/group';
  4. import type {Plugin} from 'sentry/types/integrations';
  5. import type {Organization} from 'sentry/types/organization';
  6. import type {Project} from 'sentry/types/project';
  7. type Props = {
  8. actionType: 'create' | 'link';
  9. group: Group;
  10. onSuccess: (data: any) => void;
  11. organization: Organization;
  12. plugin: Plugin;
  13. project: Project;
  14. };
  15. export class DefaultIssuePlugin extends BasePlugin {
  16. renderGroupActions(props: Props) {
  17. return <IssueActions {...props} />;
  18. }
  19. }
  20. export default DefaultIssuePlugin;