Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header subheader shorthand element missing className='sub header' #902

Closed
levithomason opened this issue Nov 18, 2016 · 0 comments
Closed

Comments

@levithomason
Copy link
Member

Steps

  1. Create a <Header content='Test' subheader={<span>My subheader</span>} />

Expected Result

The span should be formatted as a sub header.

Actual Result

The span has noclassName so it is formatted as part of the main header content. The Header.create() method needs to add className: 'sub header'.

Version

[email protected]

Testcase

http://codepen.io/levithomason/pen/eBgdrp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant