Skip to content

Commit

Permalink
fix Statistic sub-component names
Browse files Browse the repository at this point in the history
  • Loading branch information
levithomason committed Nov 24, 2015
1 parent f80304f commit 0443118
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, {Component} from 'react';
import {Statistic} from 'stardust';
const {Statistics, Label, Value} = Statistic;

export default class StatisticStatisticsExample extends Component {
export default class StatisticGroupExample extends Component {
render() {
return (
<Statistics>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default class StatisticTypesExamples extends Component {
<ComponentExample
title='Statistic Group'
description='A group of statistics'
examplePath='views/Statistic/Types/StatisticStatisticsExample'
examplePath='views/Statistic/Types/StatisticGroupExample'
/>
</ExampleSection>
);
Expand Down
4 changes: 2 additions & 2 deletions src/views/Statistic/Label.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import classNames from 'classnames';
import getUnhandledProps from 'src/utils/getUnhandledProps';
import META from 'src/utils/Meta';

export default class Statistic extends Component {
export default class Label extends Component {
static propTypes = {
children: PropTypes.node.isRequired,
className: PropTypes.string,
};

static _meta = {
library: META.library.semanticUI,
name: 'StatisticLabel',
name: 'Label',
type: META.type.view,
parent: 'Statistic',
};
Expand Down
4 changes: 2 additions & 2 deletions src/views/Statistic/Value.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ import classNames from 'classnames';
import getUnhandledProps from 'src/utils/getUnhandledProps';
import META from 'src/utils/Meta';

export default class Statistic extends Component {
export default class Value extends Component {
static propTypes = {
children: PropTypes.node.isRequired,
className: PropTypes.string,
};

static _meta = {
library: META.library.semanticUI,
name: 'StatisticValue',
name: 'Value',
type: META.type.view,
parent: 'Statistic',
};
Expand Down

0 comments on commit 0443118

Please sign in to comment.