import React, { FC } from 'react'; import { Checkbox, CollapsableSection, Field, InfoBox, Input } from '@grafana/ui'; import { NotificationSettingsProps } from './NotificationChannelForm'; interface Props extends NotificationSettingsProps { imageRendererAvailable: boolean; } export const NotificationSettings: FC = ({ currentFormValues, imageRendererAvailable, register }) => { return ( {currentFormValues.uploadImage && !imageRendererAvailable && ( Grafana cannot find an image renderer to capture an image for the notification. Please make sure the Grafana Image Renderer plugin is installed. Please contact your Grafana administrator to install the plugin. )} {currentFormValues.sendReminder && ( <> )} ); };