Heading
TODO: Interactive example does not work for some reason
Lorem ipsum dolor sit amet
Interfaces
HeadingProps
Defined in: packages/solid/src/components/typography/heading/heading.types.ts:7
The Heading component properties.
Extends
unknown<JSX.HTMLAttributes<HTMLHeadingElement>>.ParentProps
Properties
children?
optionalchildren:Element
Defined in: node_modules/.pnpm/solid-js@1.9.10/node_modules/solid-js/types/render/component.d.ts:28
Inherited from
ParentProps.children
level
level:
1|2|3|4|5|6
Defined in: packages/solid/src/components/typography/heading/heading.types.ts:12
The level of the heading.
Variables
Heading
constHeading:Component<HeadingProps>
Defined in: packages/solid/src/components/typography/heading/heading.component.tsx:10
A component that represents a heading. Supports heading levels 1-6.
Param
Returns
The heading component.