import type { PropsWithChildren } from 'react' import { createSupportFormUrl, type SupportFormUrlKeys } from './SupportForm.utils' import { DynamicLink, type DynamicLinkProps } from '@/components/ui/DynamicLink' import { takeBreadcrumbSnapshot } from '@/lib/breadcrumbs' export const SupportLink = ({ children, queryParams, ...props }: PropsWithChildren< { queryParams?: Partial } & Omit >) => { return ( { takeBreadcrumbSnapshot() props.onClick?.(event) }} > {children} ) }