import React, { FC } from 'react'; import { SelectableValue } from '@grafana/data'; import { Field, Input, InputControl, Select } from '@grafana/ui'; import { NotificationChannelSecureFields, NotificationChannelType } from '../../../types'; import { NotificationSettingsProps } from './NotificationChannelForm'; import { NotificationChannelOptions } from './NotificationChannelOptions'; interface Props extends NotificationSettingsProps { selectedChannel: NotificationChannelType; channels: Array>; secureFields: NotificationChannelSecureFields; resetSecureField: (key: string) => void; } export const BasicSettings: FC = ({ control, currentFormValues, errors, secureFields, selectedChannel, channels, register, resetSecureField, }) => { return ( <>