import{_ as t,c as r,a0 as a,o}from"./chunks/framework.P9qPzDnn.js";const p=JSON.parse('{"title":"Interface: InfoboxOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/infoboxes/infobox/interfaces/InfoboxOptions.md","filePath":"api/features/infoboxes/infobox/interfaces/InfoboxOptions.md","lastUpdated":null}'),i={name:"api/features/infoboxes/infobox/interfaces/InfoboxOptions.md"};function n(s,e,l,c,f,d){return o(),r("div",null,e[0]||(e[0]=[a('
Profectus / features/infoboxes/infobox / InfoboxOptions
An object that configures an Infobox.
optional
bodyStyle:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to the body of the infobox.
profectus/src/features/infoboxes/infobox.tsx:21
optional
classes:MaybeRefOrGetter
<Record
<string
,boolean
>>
Dictionary of CSS classes to apply to this feature.
optional
color:MaybeRefOrGetter
<string
>
The background color of the Infobox. Defaults to the layer color.
profectus/src/features/infoboxes/infobox.tsx:17
display:
MaybeGetter
<Renderable
>
The main text that appears in the display.
profectus/src/features/infoboxes/infobox.tsx:25
optional
style:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to this feature.
title:
MaybeGetter
<Renderable
>
A header to appear at the top of the display.
profectus/src/features/infoboxes/infobox.tsx:23
optional
titleStyle:MaybeRefOrGetter
<CSSProperties
>
CSS to apply to the title of the infobox.
profectus/src/features/infoboxes/infobox.tsx:19
optional
visibility:MaybeRefOrGetter
<boolean | Visibility>
Whether this feature should be visible.