Constructor
# <Header />
The Header component is a base for all text components intended as headings.
Usage
import { H1, H2, H3, H4, H5, H6, HeaderProps } from 'admin-bro'
// or
import { Header } from 'admin-bro'
// Header.H1
By default, the Heading component renders an h3 element.
Example
Type Definitions
object
# HeaderProps
Prop Types of an Header components. Apart from all props for a standard hx elements it extends TypographyProps and SpaceProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
... |
string |
<optional> |
Other props from TypographyProps, SpaceProps |