profectus-docs/assets/api_modules_features_upgrades_UpgradeComponent.md.c26dec10.js

1 line
2.5 KiB
JavaScript

import{_ as t,c as e,o as r,a as l}from"./app.ab34650d.js";const u=JSON.parse('{"title":"Component: Upgrade","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Props","slug":"props"}],"relativePath":"api/modules/features/upgrades/UpgradeComponent.md","lastUpdated":null}'),p={name:"api/modules/features/upgrades/UpgradeComponent.md"},a=l('<h1 id="component-upgrade" tabindex="-1">Component: Upgrade <a class="header-anchor" href="#component-upgrade" aria-hidden="true">#</a></h1><h2 id="props" tabindex="-1">Props <a class="header-anchor" href="#props" aria-hidden="true">#</a></h2><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Types</th></tr></thead><tbody><tr><td style="text-align:left;"><pre>display</pre>*</td><td style="text-align:left;"><pre>processedPropType&lt;UnwrapRef&lt;GenericUpgrade[&quot;display&quot;]&gt;&gt;(String, Object, Function)</pre></td></tr><tr><td style="text-align:left;"><pre>visibility</pre>*</td><td style="text-align:left;"><pre>processedPropType&lt;Visibility&gt;(Number)</pre></td></tr><tr><td style="text-align:left;"><pre>style</pre></td><td style="text-align:left;"><pre>processedPropType&lt;StyleValue&gt;(String, Object, Array)</pre></td></tr><tr><td style="text-align:left;"><pre>classes</pre></td><td style="text-align:left;"><pre>processedPropType&lt;Record&lt;string, boolean&gt;&gt;(Object)</pre></td></tr><tr><td style="text-align:left;"><pre>resource</pre></td><td style="text-align:left;"><pre>Resource</pre></td></tr><tr><td style="text-align:left;"><pre>cost</pre></td><td style="text-align:left;"><pre>processedPropType&lt;DecimalSource&gt;(String, Object, Number)</pre></td></tr><tr><td style="text-align:left;"><pre>canPurchase</pre>*</td><td style="text-align:left;"><pre>processedPropType&lt;boolean&gt;(Boolean)</pre></td></tr><tr><td style="text-align:left;"><pre>bought</pre>*</td><td style="text-align:left;"><pre>processedPropType&lt;boolean&gt;(Boolean)</pre></td></tr><tr><td style="text-align:left;"><pre>mark</pre></td><td style="text-align:left;"><pre>processedPropType&lt;boolean | string&gt;(Boolean, String)</pre></td></tr><tr><td style="text-align:left;"><pre>id</pre>*</td><td style="text-align:left;"><pre>string</pre></td></tr><tr><td style="text-align:left;"><pre>purchase</pre>*</td><td style="text-align:left;"><pre>VoidFunction</pre></td></tr></tbody></table>',3),d=[a];function s(o,n,i,g,c,y){return r(),e("div",null,d)}var x=t(p,[["render",s]]);export{u as __pageData,x as default};