mylingo3d
Version:
Lingo3D is a React/Vue 3d game development framework that ships with a complete visual editor
15 lines • 585 B
JavaScript
import { jsx as _jsx } from "preact/jsx-runtime";
const TitleBarButton = ({ children, onClick, disabled }) => {
return (_jsx("div", { onClick: disabled ? undefined : onClick, style: {
width: 24,
height: 24,
display: "flex",
justifyContent: "center",
alignItems: "center",
marginRight: 2,
opacity: disabled ? 0.1 : 0.5,
cursor: disabled ? "default" : "pointer"
}, children: children }));
};
export default TitleBarButton;
//# sourceMappingURL=TitleBarButton.js.map