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
Next Next commit
docs(StatisticGroup): Added color, size, and inverted prop examples f…
…or Statistic Groups
tarang9211 committed Dec 19, 2016
commit 92e3bffbaab002d9d977443a509b842e7a569b36
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { Statistic } from 'semantic-ui-react'
import { Segment, Statistic } from 'semantic-ui-react'

const items = [
{ label: 'Faves', value: '22' },
@@ -22,6 +22,14 @@ const StatisticExampleGroups = () => (
</Statistic.Group>

<Statistic.Group items={items} />

<Statistic.Group items={items} color='blue' />

<Statistic.Group items={items} size='huge' />

<Segment inverted>
<Statistic.Group items={items} inverted />
</Segment>
</div>
)