Header subheader
shorthand element missing className='sub header'
#902
Labels
subheader
shorthand element missing className='sub header'
#902
Steps
<Header content='Test' subheader={<span>My subheader</span>} />
Expected Result
The
span
should be formatted as asub header
.Actual Result
The
span
has noclassName
so it is formatted as part of the main header content. TheHeader.create()
method needs to addclassName: 'sub header'
.Version
[email protected]
Testcase
http://codepen.io/levithomason/pen/eBgdrp
The text was updated successfully, but these errors were encountered: