import type { UseFormReturn } from 'react-hook-form' // End of third-party imports import { FormControl, FormField, TextArea } from 'ui' import { Admonition } from 'ui-patterns/admonition' import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout' import { IPV4SuggestionAlert } from './IPV4SuggestionAlert' import { IPV4_MIGRATION_STRINGS } from './Support.constants' import type { SupportFormValues } from './SupportForm.schema' interface MessageFieldProps { form: UseFormReturn originalError: string | null | undefined } export function MessageField({ form, originalError }: MessageFieldProps) { return ( ( field.value.includes(str)) && ( ) } >