import{_ase,cast,o,Nasa}from"./chunks/framework.0799945b.js";constu=JSON.parse('{"title":"Module: features/infoboxes/infobox","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/modules/features/infobox.md","lastUpdated":null}'),l={name:"api/modules/features/infobox.md"},d=a('<h1id="module-features-infoboxes-infobox"tabindex="-1">Module:features/infoboxes/infobox<aclass="header-anchor"href="#module-features-infoboxes-infobox"aria-label="Permalink to "Module: features/infoboxes/infobox""></a></h1><h2id="interfaces"tabindex="-1">Interfaces<aclass="header-anchor"href="#interfaces"aria-label="Permalinkto"Interfaces""></a></h2><h3id="baseinfobox"tabindex="-1">BaseInfobox<aclass="header-anchor"href="#baseinfobox"aria-label="Permalinkto"BaseInfobox""></a></h3><p>•<strong>BaseInfobox</strong>:<code>Object</code></p><p>Thepropertiesthatareaddedontoaprocessed<ahref="./infobox#infoboxoptions">InfoboxOptions</a>tocreatean<ahref="./infobox#infobox">Infobox</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>[Component]</code></td><tdstyle="text-align:left;"><ahref="./feature#genericcomponent"><code>GenericComponent</code></a></td><tdstyle="text-align:left;">TheVuecomponentusedtorenderthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>[GatherProps]</code></td><tdstyle="text-align:left;">()=><ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>unknown</code>></td><tdstyle="text-align:left;">Afunctiontogatherthepropsthevuecomponentrequiresforthisfeature.</td></tr><tr><tdstyle="text-align:left;"><code>collapsed</code></td><tdstyle="text-align:left;"><ahref="./../game/persistence#persistent"><code>Persistent</code></a><<code>boolean</code>></td><tdstyle="text-align:left;">Whetherornotthisinfoboxiscollapsed.</td></tr><tr><tdstyle="text-align:left;"><code>id</code></td><tdstyle="text-align:left;"><code>string</code></td><tdstyle="text-align:left;">Anauto-generatedIDforidentifyingfeaturesthatappearintheDOM.Willnotpersistbetweenrefreshesorupdates.</td></tr><tr><tdstyle="text-align:left;"><code>type</code></td><tdstyle="text-align:left;">typeof<ahref="./infobox#infoboxtype"><code>InfoboxType</code></a></td><tdstyle="text-align:left;">Asymbolthathelpsidentifyfeaturesofthesametype.</td></tr></tbody></table><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/425e85a/src/features/infoboxes/infobox.ts#L50"target="_blank"rel="noreferrer">profectus/src/features/infoboxes/infobox.ts:50</a></p><hr><h3id="infoboxoptions"tabindex="-1">InfoboxOptions<aclass="header-anchor"href="#infoboxoptions"aria-label="Permalinkto"InfoboxOptions""></a></h3><p>•<strong>InfoboxOptions</strong>:<code>Object</code></p><p>Anobjectthatconfiguresan<ahref="./infobox#infobox">Infobox</a>.</p><table><thead><tr><thstyle="text-align:left;">Name</th><thstyle="text-align:left;">Type</th><thstyle="text-align:left;">Description</th></tr></thead><tbody><tr><tdstyle="text-align:left;"><code>bodyStyle?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="./feature#stylevalue"><code>StyleValue</code></a>></td><tdstyle="text-align:left;">CSStoapplytothebodyoftheinfobox.</td></tr><tr><tdstyle="text-align:left;"><code>classes?</code></td><tdstyle="text-align:left;"><ahref="./../util/computed#computable"><code>Computable</code></a><<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"