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.
Fields#
Component#
required
counterStyleRenderer#
required
counterStyleRenderer: CounterStyleRenderer;type#
required
type: "unitary";