SectionHeading
Overview
When to use
t.b.d.
When to consider an alternative
t.b.d.
Component
Default
States
Pass the state
prop to change the color of the section-heading component.
With semantic tag
By default SectionHeading has an h3 tag. But you can change it by providing as prop with values from h1 to h6.
Properties
Default
Property | Type | Required | Default | Description |
---|---|---|---|---|
utilClassNames | String | false | - | |
children | Node | false | - | |
sectionHeadingRef | Shape {
"current": "Any"
} | false | - | |
tag | String | false | - | HTML Tag or React Component (e.g. div, span, etc) |
state | Enum "default" │ "success" │ "error" │ "warning" │ "info" │ "muted" | false | - | Exported as SectionHeading.States.error, etc. |