ReferenceComponents<button><button> can be used to create clickable components. App.jsstyles.cssApp.js Resetexport default function App() { const light = Globals.Light; return <button style={{ margin: 20 }} onClick={() => light.enabled = !light.enabled}> Toggle Light </button>; }; Show PreviewPrevioustextNextanchor