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

Divider Component updated to v1 API #268

Merged
merged 6 commits into from
Jun 22, 2016

Conversation

jhchill666
Copy link
Contributor

  • Divider Component updated to v1 API
  • Documents updated to reflect
  • Divider-test added to suite

- Divider Component updated to v1 API
- Documents updated to relect
- Divider-test added to suite
@codecov-io
Copy link

codecov-io commented Jun 22, 2016

Current coverage is 85.55%

No coverage report found for master at 7ca14ac.

Powered by Codecov. Last updated by 7ca14ac...c4a15b2


return (
<DividerComponent className={classes} {...rest}>
{_children}
Copy link
Member

Choose a reason for hiding this comment

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

Can we use the children directly here? Not sure why the fragment is required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Of course. I'd just whittled down the Label version, and not considered createFragment was now redundant

@levithomason
Copy link
Member

Wow, nice work! Thanks. Just the one question about the fragment then we can merge this guy.

import * as common from 'test/specs/commonTests'

describe('Divider', () => {
common.isConformant(Divider)
Copy link
Member

@levithomason levithomason Jun 22, 2016

Choose a reason for hiding this comment

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

Let's add common.rendersChildren and common.hasUIClassName.

Copy link
Member

Choose a reason for hiding this comment

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

@jhchill666
Copy link
Contributor Author

Ok there you have it @levithomason

@levithomason
Copy link
Member

👍

@levithomason levithomason merged commit b8b058f into Semantic-Org:master Jun 22, 2016
@jhchill666 jhchill666 deleted the feature/divider branch June 22, 2016 15:21
@levithomason
Copy link
Member

I've added #269 to track the remaining components needing updated. I've also added a section to the README outlining "How can I help?".

Your PR was much appreciated, would love to see more!

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

Successfully merging this pull request may close these issues.

3 participants