MCPcopy Create free account
hub / github.com/StevenLyt/mapf-visualizer / LoadingAnimation

Function LoadingAnimation

src/components/LoadingAnimation.jsx:6–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import Planning from "assets/lotties/planning.json";
5
6export default function LoadingAnimation() {
7 return (
8 <MKBox>
9 <MKBox mt={"40%"} justifyContent="center" alignItems="center">
10 <Lottie
11 options={{
12 loop: true,
13 autoplay: true,
14 animationData: Planning,
15 rendererSettings: {
16 preserveAspectRatio: "xMidYMid slice",
17 },
18 }}
19 height={150}
20 width={150}
21 style={{ marginBottom: 80, pointerEvents: "none" }}
22 />
23 </MKBox>
24 <MKBox
25 textAlign="center"
26 style={{
27 marginBottom: "auto",
28 }}
29 >
30 <MKTypography variant="h5">Planning and fetching data ...</MKTypography>
31 </MKBox>
32 </MKBox>
33 );
34}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected