import { Tabs, TextInput, Switch, Text } from '@mantine/core'; import { UseFormReturnType } from '@mantine/form'; import { IconClick } from '@tabler/icons'; import { useTranslation } from 'next-i18next'; import { ServiceType } from '../../../../../../types/service'; interface BehaviourTabProps { form: UseFormReturnType ServiceType>; } export const BehaviourTab = ({ form }: BehaviourTabProps) => { const { t } = useTranslation(''); return ( } label="On click url" description="Overrides the service URL when clicking on the service" placeholder="URL that should be opened instead when clicking on the service" variant="default" mb="md" {...form.getInputProps('behaviour.onClickUrl')} /> ); };