UnitaryListStyleSpec
export
interface
UnitaryListStyleSpec
{
 Â
Component
:
ComponentType
<
UnitaryCounterRendererProps
>
;
 Â
counterStyleRenderer
:
CounterStyleRenderer
;
 Â
type
:
"unitary"
;
}
Defined in packages/render-html/src/shared-types.ts
Specs for a list item marker renderer with only one representation. The
"Component" should render this representation, minus prefix and suffix. The
rendered component should have a maximum width of 0.6 * fontSize
, and a height of
lineHeight
.
#
FieldsComponent
#
required
counterStyleRenderer
#
required
counterStyleRenderer
:
CounterStyleRenderer
;
type
#
required
type
:
"unitary"
;