Skip to content
On this page

Component: Upgrade

Props

NameTypes
display
*
processedPropType<UnwrapRef<GenericUpgrade["display"]>>(String, Object, Function)
visibility
*
processedPropType<Visibility>(Number)
style
processedPropType<StyleValue>(String, Object, Array)
classes
processedPropType<Record<string, boolean>>(Object)
resource
Resource
cost
processedPropType<DecimalSource>(String, Object, Number)
canPurchase
*
processedPropType<boolean>(Boolean)
bought
*
processedPropType<boolean>(Boolean)
mark
processedPropType<boolean | string>(Boolean, String)
id
*
string
purchase
*
VoidFunction