mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
preview bar
This commit is contained in:
15
components/agility-common/LoadingWidget.js
Normal file
15
components/agility-common/LoadingWidget.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import { CgSpinner } from "react-icons/cg";
|
||||
|
||||
const Widget = ({ message }) => {
|
||||
return (
|
||||
<section
|
||||
id="loading-widget"
|
||||
className="flex flex-col items-center justify-center h-screen"
|
||||
>
|
||||
<CgSpinner className="animate-spin text-2xl mb-2" />
|
||||
<p>{message}</p>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export default Widget;
|
Reference in New Issue
Block a user