File size: 385 Bytes
b087e88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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