mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-09-29 22:34:33 +00:00
21 lines
414 B
TypeScript
21 lines
414 B
TypeScript
import Settings from 'sentry/plugins/components/settings';
|
|
import type {Organization, Plugin, Project} from 'sentry/types';
|
|
|
|
type Props = {
|
|
organization: Organization;
|
|
project: Project;
|
|
};
|
|
|
|
class BasePlugin {
|
|
plugin: Plugin;
|
|
constructor(data: Plugin) {
|
|
this.plugin = data;
|
|
}
|
|
|
|
renderSettings(props: Props) {
|
|
return <Settings plugin={this.plugin} {...props} />;
|
|
}
|
|
}
|
|
|
|
export default BasePlugin;
|