diff --git a/docs/app/Examples/views/Statistic/Content/Labels.js b/docs/app/Examples/views/Statistic/Content/Labels.js index 22a4d24bb7..6dbe949ff5 100644 --- a/docs/app/Examples/views/Statistic/Content/Labels.js +++ b/docs/app/Examples/views/Statistic/Content/Labels.js @@ -1,7 +1,7 @@ import React from 'react' -import {Statistic} from 'stardust' +import { Statistic } from 'stardust' -const {Label, Value} = Statistic +const { Label, Value } = Statistic const Labels = () => (
@@ -11,11 +11,11 @@ const Labels = () => ( - - - +
) diff --git a/docs/app/Examples/views/Statistic/Content/Props.js b/docs/app/Examples/views/Statistic/Content/Props.js index 0f93e74194..d989cec443 100644 --- a/docs/app/Examples/views/Statistic/Content/Props.js +++ b/docs/app/Examples/views/Statistic/Content/Props.js @@ -1,23 +1,23 @@ import React from 'react' -import {Statistic} from 'stardust' +import { Statistic } from 'stardust' const items = [ - {label: 'Saves', value: '22'}, - {label: 'Signups', text: true, value: 'Three Thousand'}, - {label: 'Flights', value: '5'}, - {label: 'Team Members', value: '42'}, + { label: 'Saves', value: '22' }, + { label: 'Signups', text: true, value: 'Three Thousand' }, + { label: 'Flights', value: '5' }, + { label: 'Team Members', value: '42' }, ] const Props = () => (
- - - - + + + + - +
) diff --git a/docs/app/Examples/views/Statistic/Content/Values.js b/docs/app/Examples/views/Statistic/Content/Values.js index 7f947b6deb..067eb008e5 100644 --- a/docs/app/Examples/views/Statistic/Content/Values.js +++ b/docs/app/Examples/views/Statistic/Content/Values.js @@ -1,7 +1,7 @@ import React from 'react' -import {Icon, Image, Statistic} from 'stardust' +import { Icon, Image, Statistic } from 'stardust' -const {Group, Label, Value} = Statistic +const { Group, Label, Value } = Statistic // TODO: Update usage after will be updated to v1 API @@ -22,7 +22,7 @@ const Values = () => ( - + 5 @@ -30,7 +30,7 @@ const Values = () => ( - + 42 diff --git a/docs/app/Examples/views/Statistic/Content/index.js b/docs/app/Examples/views/Statistic/Content/index.js index 691f20ccd5..a1cfd13be1 100644 --- a/docs/app/Examples/views/Statistic/Content/index.js +++ b/docs/app/Examples/views/Statistic/Content/index.js @@ -10,7 +10,7 @@ const Content = () => ( description='A statistic can contain a numeric, icon, image, or text value' examplePath='views/Statistic/Content/Values' /> - + ( description='A statistic can display a value with a label above or below it' examplePath='views/Statistic/Types/BottomLabel' /> - + ( @@ -20,7 +20,7 @@ const EvenlyDivided = () => ( - + 5 @@ -28,7 +28,7 @@ const EvenlyDivided = () => ( - + 42 diff --git a/docs/app/Examples/views/Statistic/Variations/index.js b/docs/app/Examples/views/Statistic/Variations/index.js index 5f89cbadd1..869a08e667 100644 --- a/docs/app/Examples/views/Statistic/Variations/index.js +++ b/docs/app/Examples/views/Statistic/Variations/index.js @@ -10,7 +10,7 @@ const Variations = () => ( description='A statistic can present its measurement horizontally' examplePath='views/Statistic/Variations/Horizontal' /> - + ( description='A statistic can vary in size' examplePath='views/Statistic/Variations/Size' /> - + ) diff --git a/docs/app/Examples/views/Statistic/index.js b/docs/app/Examples/views/Statistic/index.js index 1a39b0ba3d..4cb75e20ad 100644 --- a/docs/app/Examples/views/Statistic/index.js +++ b/docs/app/Examples/views/Statistic/index.js @@ -6,8 +6,8 @@ import Variations from './Variations' const StatisticExamples = () => (
- - + +
) diff --git a/src/views/Statistic/Statistic.js b/src/views/Statistic/Statistic.js index 341aa43b44..6d3055ab60 100644 --- a/src/views/Statistic/Statistic.js +++ b/src/views/Statistic/Statistic.js @@ -35,7 +35,7 @@ function Statistic(props) { return (
- +
) } diff --git a/test/specs/views/Stastistic/StatisticLabel-test.js b/test/specs/views/Stastistic/StatisticLabel-test.js index 046590bba2..c8dc27b92c 100644 --- a/test/specs/views/Stastistic/StatisticLabel-test.js +++ b/test/specs/views/Stastistic/StatisticLabel-test.js @@ -16,6 +16,6 @@ describe('StatisticLabel', () => { it('renders text with label prop', () => { const text = faker.hacker.phrase() - shallow().should.contain.text(text) + shallow().should.contain.text(text) }) }) diff --git a/test/specs/views/Stastistic/StatisticValue-test.js b/test/specs/views/Stastistic/StatisticValue-test.js index 96c97407ba..ab001c677d 100644 --- a/test/specs/views/Stastistic/StatisticValue-test.js +++ b/test/specs/views/Stastistic/StatisticValue-test.js @@ -12,7 +12,7 @@ describe('StatisticValue', () => { it('renders text with label prop', () => { const text = faker.hacker.phrase() - shallow().should.contain.text(text) + shallow().should.contain.text(text) }) })