defaultIssuePlugin.tsx 534 B

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