mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-21 07:02:32 +02:00
29 lines
521 B
JavaScript
29 lines
521 B
JavaScript
import React from 'react'
|
|
import loader from "../../assests/loader2.gif";
|
|
|
|
|
|
function Loader({isLoading}) {
|
|
return (
|
|
<div
|
|
style={{
|
|
display: "flex",
|
|
justifyContent: "center",
|
|
alignItems: "center",
|
|
height: "100vh",
|
|
flexDirection: "column",
|
|
}}
|
|
>
|
|
<img
|
|
alt="no img"
|
|
src={loader}
|
|
style={{ width: "80px", height: "80px" }}
|
|
/>
|
|
<span style={{ fontSize: "13px", color: "gray" }}>
|
|
{isLoading.message}
|
|
</span>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Loader
|