mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
21 lines
534 B
TypeScript
21 lines
534 B
TypeScript
import BasePlugin from 'sentry/plugins/basePlugin';
|
|
import IssueActions from 'sentry/plugins/components/issueActions';
|
|
import type {Group, Organization, Plugin, Project} from 'sentry/types';
|
|
|
|
type Props = {
|
|
actionType: 'create' | 'link';
|
|
group: Group;
|
|
onSuccess: (data: any) => void;
|
|
organization: Organization;
|
|
plugin: Plugin;
|
|
project: Project;
|
|
};
|
|
|
|
export class DefaultIssuePlugin extends BasePlugin {
|
|
renderGroupActions(props: Props) {
|
|
return <IssueActions {...props} />;
|
|
}
|
|
}
|
|
|
|
export default DefaultIssuePlugin;
|