button
button(
onPress):PanelButton
A row of a declared panel that runs onPress when pressed, as Leva’s
button does, handing it the world’s authority: a tool, not a view,
so it may change the world in a game played alone. On a page in a room,
which decides nothing, a press throws instead.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
onPress |
(authority) => void |