import React from 'react'

export default function Loading({ text }: { text: string }): JSX.Element {
  return (
    <div className="flex flex-col items-center">
      <p className="text-sm text-stone-600 dark:text-stone-400 mt-2">{text}</p>
    </div>
  )
}
