import React from 'react'
import { Link, useNavigate } from 'react-router-dom'

const Congratulation = () => {
    const navigate = useNavigate()
  return (
   <div className="text-center p-4">
    <h2>🎉 Congratulations!</h2>
    <p>Your tenant is successfully onboarded.</p>
  <div className="d-flex justify-content-center gap-3">
     <p className='btn btn-sm btn-primary' onClick={()=>navigate('/tenants')}>Go To Tenant list</p>  <p className='btn btn-sm btn-secondary' >Preview Tenant</p>
  </div>
  </div>
  )
}

export default Congratulation