MCPcopy Create free account
hub / github.com/denniskigen/react-weather / Loading

Function Loading

src/components/loading.jsx:3–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1import React from 'react';
2
3const Loading = () => {
4 return (
5 <div className="m-16">
6 <div
7 role="progressbar"
8 className="m-16 mx-auto h-40 w-full max-w-sm rounded-md p-4"
9 >
10 <div className="flex animate-pulse space-x-4">
11 <div className="h-12 w-12 rounded-full bg-gray-300"></div>
12 <div className="flex-1 space-y-4 py-1">
13 <div className="h-4 w-3/4 rounded bg-gray-300"></div>
14 <div className="space-y-2">
15 <div className="h-4 w-5/6 rounded bg-gray-300"></div>
16 <div className="h-4 w-5/6 rounded bg-gray-300"></div>
17 <div className="h-4 rounded bg-gray-300"></div>
18 <div className="h-4 rounded bg-gray-300"></div>
19 </div>
20 </div>
21 </div>
22 </div>
23 </div>
24 );
25};
26
27export default Loading;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected