Section Title
Section Title is a section heading component to a Whisper, it helps better separate content on the Whisper.
Last updated
Section Title is a section heading component to a Whisper, it helps better separate content on the Whisper.
Last updated
backgroundStyle
Background color of the component.
Color.White
(#FFFFFF)
body
The content of SectionTitle
that you want to display. Supports markdown.
textAlign
TextAlign.Left
The inline contents are aligned to the left edge of the line box. It's default value.
TextAlign.Right
The inline contents are aligned to the right edge of the line box.
TextAlign.Center
The inline contents are centered within the line box.
TextAlign.Left
SectionTitles
can be aligned in different ways, and have a background color that stretches across the entire width of the Whisper, unlike some other components. In addition, the body
attribute also allows you to use markdown for the content of the component. In this example, we'll look at the different alignments, background, and what the component looks like with some content. Here is a screenshot to show you what the code below will look like once you add the content.