11import * as React from "react"
22import UsageBar from "./UsageBar"
33
4- export default {
5- title : "Usage Bar Dark" ,
6- component : UsageBar ,
7- parameters : { }
8- }
4+ export default {
5+ title : "Usage Bar Dark" ,
6+ component : UsageBar ,
7+ parameters : { } ,
8+ }
99
1010const items = [
1111 {
1212 name : "UI" ,
1313 value : 10 ,
14- color : "#E75D04 " ,
14+ color : "#E85D04 " ,
1515 } ,
1616 {
1717 name : "Photos" ,
@@ -32,40 +32,40 @@ const items = [
3232]
3333
3434export const darkMode = ( ) => (
35- < div style = { { backgroundColor : ' #212121' } } >
35+ < div style = { { backgroundColor : " #212121" } } >
3636 < UsageBar darkMode items = { items } total = { 100 } />
3737 </ div >
3838)
3939
4040export const darkModeWithoutLabels = ( ) => (
41- < div style = { { backgroundColor : ' #212121' } } >
42- < UsageBar removeLabels darkMode items = { items } total = { 100 } />
43- </ div >
44- )
41+ < div style = { { backgroundColor : " #212121" } } >
42+ < UsageBar removeLabels darkMode items = { items } total = { 100 } />
43+ </ div >
44+ )
4545
4646export const darkModeWithPercentages = ( ) => (
47- < div style = { { backgroundColor : ' #212121' } } >
48- < UsageBar showPercentage darkMode items = { items } total = { 100 } />
49- </ div >
47+ < div style = { { backgroundColor : " #212121" } } >
48+ < UsageBar showPercentage darkMode items = { items } total = { 100 } />
49+ </ div >
5050)
5151
5252export const darkModeCompact = ( ) => (
53- < div style = { { backgroundColor : ' #212121' } } >
54- < UsageBar showPercentage compactLayout darkMode items = { items } total = { 100 } />
55- </ div >
53+ < div style = { { backgroundColor : " #212121" } } >
54+ < UsageBar showPercentage compactLayout darkMode items = { items } total = { 100 } />
55+ </ div >
5656)
5757
5858export const darkModeCompactWithoutLabels = ( ) => (
59- < div style = { { backgroundColor : ' #212121' } } >
60- < UsageBar removeLabels compactLayout darkMode items = { items } total = { 100 } />
61- </ div >
59+ < div style = { { backgroundColor : " #212121" } } >
60+ < UsageBar removeLabels compactLayout darkMode items = { items } total = { 100 } />
61+ </ div >
6262)
6363
6464export const error = ( ) => (
65- < >
66- < p > If sum of values exceeds total.</ p >
67- < div style = { { backgroundColor : ' #212121' } } >
68- < UsageBar items = { items } total = { 50 } />
69- </ div >
70- </ >
65+ < >
66+ < p > If sum of values exceeds total.</ p >
67+ < div style = { { backgroundColor : " #212121" } } >
68+ < UsageBar items = { items } total = { 50 } />
69+ </ div >
70+ </ >
7171)
0 commit comments