
The Header component is a base for all headers.
Usage
import { H1, H2, H3, H4, H5, H6 } from '@admin-bro/design-system'
// or
import { Header } from '@admin-bro/design-system'
// Header.H1
By default, the Heading component renders H3 element.
Example
This is how headers looks
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 |