mirror of
https://github.com/grafana/grafana.git
synced 2025-09-22 16:53:17 +08:00
15 lines
428 B
TypeScript
15 lines
428 B
TypeScript
import React from 'react';
|
|
|
|
import { AlertManagerCortexConfig } from 'app/plugins/datasource/alertmanager/types';
|
|
|
|
import { TemplateForm } from './TemplateForm';
|
|
|
|
interface Props {
|
|
config: AlertManagerCortexConfig;
|
|
alertManagerSourceName: string;
|
|
}
|
|
|
|
export const NewTemplateView = ({ config, alertManagerSourceName }: Props) => {
|
|
return <TemplateForm config={config} alertManagerSourceName={alertManagerSourceName} />;
|
|
};
|