Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

ButtonSettingRow

  • SettingRowBase
Property Type Default value Description
action string undefined What the button says, a verb such as “Replay”.
cost? SettingCost undefined What the row costs to turn up, shown beside its description.
description? string undefined What the row does, in a sentence or two, which the panel shows beside the rows while this one is under the pointer or holds the focus, and under the row on a narrow screen when it is tapped.
image? string undefined The address of an image the panel shows beside the description, such as what each option looks like.
kind Button undefined -
label string undefined What the row is called in the panel, in sentence case.
onPress () => void undefined -
section? string undefined A heading the row stands under within its tab. Rows that name the same section stand together, in the order the first of them mounted, after the rows that name none.
tab? SettingsTab SettingsTab.Game The tab the row shows on.