import React from 'react'
import DogContactForm from './DogContactForm'

export default function DogNameTxt(
    {name, email, phone, qr_id}: 
    {name: string, email: string, phone: string, qr_id: string}) {
  return (
    <div>
      <p className='m-1'>Hallo ich bin 
        <p className='m-1 font-bold'>{name}!</p>
      </p>
        <DogContactForm toEmail={email} name={name} qr_id={qr_id} />
      <p className='m-1'>
        oder ruf 
        <div className='neben'>
          <div className='m-1 font-bold'>{phone}</div> 
          an,
        </div> 
        damit ich schnell wieder Heim komme.
      </p>
    </div>
  )
}
