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

docs(StatisticGroup): add color, size, and inverted examples #1058

Merged
merged 6 commits into from
Dec 20, 2016

Conversation

tarang9211
Copy link
Contributor

This PR adds documentation for Statistic Group examples for color, size, and inverted props.

@codecov-io
Copy link

codecov-io commented Dec 19, 2016

Current coverage is 95.82% (diff: 100%)

No coverage report found for master at 45c2e55.

Powered by Codecov. Last update 45c2e55...b4eca76

Copy link
Member

@levithomason levithomason left a comment

Choose a reason for hiding this comment

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

Lookin' great! Left a couple minor comments.

const StatisticExampleGroupColored = () => (
<div>
<Statistic.Group items={items} color='blue' />
</div>
Copy link
Member

Choose a reason for hiding this comment

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

Since there is only one element here, let's forgo the extra div wrapper and just return the <Statistic.Group /> itself.

]

const StatisticExampleGroupInverted = () => (
<div>
Copy link
Member

Choose a reason for hiding this comment

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

Same here, let's drop the extra div.

@tarang9211
Copy link
Contributor Author

@levithomason removed the extra divs from the components.

@levithomason
Copy link
Member

Perfect!

@levithomason levithomason changed the title Feat/statistic group docs(StatisticGroup): add color, size, and inverted examples Dec 20, 2016
@levithomason levithomason merged commit ad124ca into Semantic-Org:master Dec 20, 2016
@tarang9211
Copy link
Contributor Author

Thanks so much @levithomason I'll start looking at some more issues!

@levithomason
Copy link
Member

Awesome, we try to keep good labeling practices. I'd suggest looking at help wanted and/or good first contribution for more low hanging fruit.

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

Successfully merging this pull request may close these issues.

3 participants