import React from 'react'

interface LoadingSpinnerProps {
  minHeight?: string
}

const LoadingSpinner: React.FC<LoadingSpinnerProps> = ({ minHeight = '300px' }) => {
  return (
    <div className={`flex items-center justify-center min-h-[${minHeight}]`}>
      <span className="loading loading-spinner loading-lg text-primary"></span>
    </div>
  )
}

export default LoadingSpinner
