forked from phenom/healer-man
Release Healer Man 0.1.32
This commit is contained in:
1 parent
d3d6aaebdb
commit
6dcb1034e5
102 files changed
+10772
-788
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { lazy, Suspense } from "react";
|
||||
import type { CharacterProfile } from "../app/types";
|
||||
import type { CompanionCommand } from "../platform/dualScreenSync";
|
||||
import { FrontSurface } from "./FrontSurface";
|
||||
|
||||
const CompanionManastormPanel = lazy(() => import("./CompanionManastormPanel").then((module) => ({
|
||||
default: module.CompanionManastormPanel,
|
||||
})));
|
||||
|
||||
export function ShelvedCompanionPanel({
|
||||
selected,
|
||||
send,
|
||||
}: {
|
||||
readonly selected: CharacterProfile | null;
|
||||
readonly send: (command: CompanionCommand) => void;
|
||||
}) {
|
||||
return (
|
||||
<Suspense fallback={<FrontSurface bottom className="companion-panel" ariaLabel="Loading Manastorm companion screen"><span>Loading Manastorm data…</span></FrontSurface>}>
|
||||
<CompanionManastormPanel selected={selected} send={send} />
|
||||
</Suspense>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user