lingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
14 lines • 719 B
JavaScript
import { jsx as _jsx } from "preact/jsx-runtime";
import Transition from "../component/Transition";
export default ({ mounted, style, children, fadeIn }) => {
return (_jsx(Transition, { mounted: mounted, children: (enter) => (_jsx("div", { className: "lingo3d-absfull lingo3d-flexcenter", style: {
transition: "opacity 1s",
opacity: fadeIn && enter ? 0 : mounted ? 1 : 0,
...style
}, children: _jsx("div", { className: "lingo3d-flexcenter", style: {
gap: 10,
background: "rgba(0, 0, 0, 0.5)",
padding: 2
}, children: children }) })) }));
};
//# sourceMappingURL=InfoScreen.js.map