import { Form, Input } from 'antd'; import { Dispatch, SetStateAction } from 'react'; import { useTranslation } from 'react-i18next'; import { PagerChannel } from '../../CreateAlertChannels/config'; const { TextArea } = Input; function PagerForm({ setSelectedConfig }: PagerFormProps): JSX.Element { const { t } = useTranslation('channels'); return ( <> { setSelectedConfig((value) => ({ ...value, routing_key: event.target.value, })); }} />