Skip to content

Commit 09893d9

Browse files
committed
add explanation section
1 parent 0fb59aa commit 09893d9

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/app/Examples/elements/Header/HeaderExamples.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ import HeaderTypesExamples from './Types/HeaderTypesExamples';
33
import HeaderContentExamples from './Content/HeaderContentExamples';
44
import HeaderStatesExamples from './States/HeaderStatesExamples';
55
import HeaderVariationsExamples from './Variations/HeaderVariationsExamples';
6+
import {Message} from 'stardust';
67

78
export default class HeaderExamples extends Component {
89
render() {
910
return (
1011
<div>
11-
TODO: explain semantic uses divs and h* tags and how we accomplish that with Header and HEader.H*
12+
<Message className='warning'>
13+
Semantic UI uses conventional h1, h2, etc... for headers. For cleanliness in Stardust,
14+
we've created a Header component that uses sub-components for specifying header clasess.
15+
For example, a h2 tag will written as Header.H2. See the examples below for further clarfication.
16+
</Message>
1217
<HeaderTypesExamples />
1318
<HeaderContentExamples />
1419
<HeaderStatesExamples />

0 commit comments

Comments
 (0)