Profectus / features/infoboxes/infobox / InfoboxOptions
Interface: InfoboxOptions ​
An object that configures an Infobox.
Extends ​
Properties ​
bodyStyle? ​
optionalbodyStyle:MaybeRefOrGetter<CSSProperties>
CSS to apply to the body of the infobox.
Defined in ​
profectus/src/features/infoboxes/infobox.tsx:32
classes? ​
optionalclasses:MaybeRefOrGetter<Record<string,boolean>>
Dictionary of CSS classes to apply to this feature.
Inherited from ​
Defined in ​
color? ​
optionalcolor:MaybeRefOrGetter<string>
The background color of the Infobox. Defaults to the layer color.
Defined in ​
profectus/src/features/infoboxes/infobox.tsx:28
display ​
display:
MaybeGetter<Renderable>
The main text that appears in the display.
Defined in ​
profectus/src/features/infoboxes/infobox.tsx:36
style? ​
optionalstyle:MaybeRefOrGetter<CSSProperties>
CSS to apply to this feature.
Inherited from ​
Defined in ​
title ​
title:
MaybeGetter<Renderable>
A header to appear at the top of the display.
Defined in ​
profectus/src/features/infoboxes/infobox.tsx:34
titleStyle? ​
optionaltitleStyle:MaybeRefOrGetter<CSSProperties>
CSS to apply to the title of the infobox.
Defined in ​
profectus/src/features/infoboxes/infobox.tsx:30
visibility? ​
optionalvisibility:MaybeRefOrGetter<boolean | Visibility>
Whether this feature should be visible.