NewTemplateView.tsx 440 B

1234567891011121314
  1. import React, { FC } from 'react';
  2. import { AlertManagerCortexConfig } from 'app/plugins/datasource/alertmanager/types';
  3. import { TemplateForm } from './TemplateForm';
  4. interface Props {
  5. config: AlertManagerCortexConfig;
  6. alertManagerSourceName: string;
  7. }
  8. export const NewTemplateView: FC<Props> = ({ config, alertManagerSourceName }) => {
  9. return <TemplateForm config={config} alertManagerSourceName={alertManagerSourceName} />;
  10. };