1.0.4 • Published 4 years ago
@teambit/evangelist.elements.heading v1.0.4
Heading
A set of concrete heading for the Evangelist homepage. H1, H2, H3, H4, H5, H6.
For example,
import { H1, H2 } from './@bit/bit.evangelist.elements.heading';
<H1>Page title</H1>
<p>Lorem ipsum</p>
<H2>Section title</H2>
<p>Nullam fringilla rhoncus finibus. Fusce magna libero, iaculis nec varius in, porttitor id augue.</p>
Each header is equivalent to its html element (e.g. <H1/>
is <h1/>
, etc).
Size
To keep a consistent look to the site, headers come in a limited set of sizes.
While each header corresponds to a default font-size, it can be overridden using the size prop:
import { PossibleSizes } from '@teambit/base-ui.theme.sizes';
<H2 size={PossibleSizes.md}>A smaller h2</H2>
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.5.47
4 years ago
0.6.0
4 years ago
0.5.45
4 years ago
0.5.46
4 years ago
0.5.44
4 years ago
0.5.41
4 years ago
0.5.40
4 years ago
0.5.25
4 years ago
0.5.23
4 years ago
0.5.24
4 years ago
0.5.22
4 years ago
0.5.21
4 years ago
0.5.20
4 years ago
0.5.9
5 years ago
0.5.8
5 years ago
0.5.7
5 years ago
0.5.6
5 years ago
0.5.5
5 years ago
0.5.4
5 years ago
0.5.3
5 years ago
0.5.2
5 years ago
0.5.1
5 years ago
0.5.0
5 years ago
0.4.4
5 years ago
0.2.3
5 years ago
0.2.2
5 years ago
0.2.1
5 years ago
0.2.0
5 years ago
0.0.3
5 years ago
0.0.2
5 years ago
0.0.1
5 years ago