File tree Expand file tree Collapse file tree
apps/evm/src/components/Icon/icons Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { type SVGProps , useId } from 'react' ;
22
33const SvgBarChart = ( props : SVGProps < SVGSVGElement > ) => {
4- const maskId = useId ( ) ;
4+ const maskId = `bar-chart- ${ useId ( ) . replace ( / [ ^ a - z A - Z 0 - 9 ] / g , '' ) } ` ;
55
66 return (
77 < svg
88 width = "20"
99 height = "20"
10- viewBox = "0 0 20 20 "
10+ viewBox = "0 0 24 24 "
1111 fill = "none"
1212 xmlns = "http://www.w3.org/2000/svg"
1313 { ...props }
1414 >
1515 < mask id = { maskId } fill = "white" >
16- < rect x = "12 " width = "8" height = "20" rx = "1.49998" />
16+ < rect x = "14" y = "2 " width = "8" height = "20" rx = "1.49998" />
1717 </ mask >
1818 < rect
19- x = "12"
19+ x = "14"
20+ y = "2"
2021 width = "8"
2122 height = "20"
2223 rx = "1.49998"
@@ -25,12 +26,12 @@ const SvgBarChart = (props: SVGProps<SVGSVGElement>) => {
2526 mask = { `url(#${ maskId } )` }
2627 />
2728 < path
28- d = "M7 .5 8H12.5C12 .7761 8 13 8.22387 13 8.5V19H7.5C7 .22387 19 7 18 .7761 7 18.5V8.5C7 8.22387 7 .22387 8 7 .5 8Z "
29+ d = "M9 .5 10H14.5C14 .7761 10 15 10.2239 15 10.5V21H9.5C9 .22387 21 9 20 .7761 9 20.5V10.5C9 10.2239 9 .22387 10 9 .5 10Z "
2930 stroke = "currentColor"
3031 strokeWidth = "2"
3132 />
3233 < path
33- d = "M1 .5 14H6.5C6 .77613 14 7 14 .2239 7 14.5V19H1.5C1 .22387 19 1 18 .7761 1 18.5V14.5C1 14 .2239 1 .22387 14 1 .5 14Z "
34+ d = "M3 .5 16H8.5C8 .77613 16 9 16 .2239 9 16.5V21H3.5C3 .22387 21 3 20 .7761 3 20.5V16.5C3 16 .2239 3 .22387 16 3 .5 16Z "
3435 stroke = "currentColor"
3536 strokeWidth = "2"
3637 />
You can’t perform that action at this time.
0 commit comments