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

Feature/header component #109

Merged
merged 19 commits into from
Nov 19, 2015
Merged

Feature/header component #109

merged 19 commits into from
Nov 19, 2015

Conversation

kyleturco
Copy link
Contributor

Fixes #107

render() {
return (
<div>
TODO: explain semantic uses divs and h* tags and how we accomplish that with Header and HEader.H*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should do this before merging.

</div>
);
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Component for the .Subheader addition. Returns a <div class="sub header"> and can take additional classNames, although I'm not sure if Semantic has any others for the subheader

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your comment is missing some content. Though, the code seems correct to me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, actually, it needs to spread props. See _Header.js for a reference on how to use getUnhandledProps() to spread additional props.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was missing a backtick 🙁

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

;)

@levithomason
Copy link
Member

🉑

kyleturco added a commit that referenced this pull request Nov 19, 2015
@kyleturco kyleturco merged commit bed2a79 into master Nov 19, 2015
@kyleturco kyleturco deleted the feature/header-component branch November 19, 2015 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants