13 lines
331 B
TypeScript
13 lines
331 B
TypeScript
import { IconLoader2 } from "@tabler/icons-react"
|
|
import { FC } from "react"
|
|
|
|
interface ScreenLoaderProps {}
|
|
|
|
export const ScreenLoader: FC<ScreenLoaderProps> = () => {
|
|
return (
|
|
<div className="flex size-full flex-col items-center justify-center">
|
|
<IconLoader2 className="mt-4 size-12 animate-spin" />
|
|
</div>
|
|
)
|
|
}
|