stear/example/menu/splash.jsx
2022-11-03 22:12:53 +01:00

21 lines
No EOL
599 B
JavaScript

import { Stear, SWindow, _, s } from "../../stear/main.js";
const call = async (stear, { find, resolve, close, render, call, event }, args) => {
/*event.onloaded = () => { }*/
/*event.onresolve = async () => { }*/
/*event.onclose = async () => { }*/
/*event.onBeforRerender = async () => { }*/
/*event.onAfterRerender = async () => { }*/
return <div style={{
display:"flex",
alignItems: "center",
justifyContent: "center",
height: "100%",
}}>
Splashscreen
</div>
}
export default new SWindow({ call, backgroundColor: "#dde" });