File tree Expand file tree Collapse file tree 1 file changed +40
-17
lines changed
thingconnect.pulse.client/src/icons Expand file tree Collapse file tree 1 file changed +40
-17
lines changed Original file line number Diff line number Diff line change 11import type { ComponentPropsWithoutRef } from 'react' ;
22
3- export const Help = ( props : ComponentPropsWithoutRef < 'svg' > ) => (
4- < svg
5- width = "16"
6- height = "16"
7- viewBox = "0 0 24 24"
8- fill = "none"
9- stroke = "currentColor"
10- strokeWidth = "2"
11- strokeLinecap = "round"
12- strokeLinejoin = "round"
13- { ...props }
14- >
15- < circle cx = "12" cy = "12" r = "10" />
16- < path d = "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
17- < path d = "m12 17 .01 0" />
18- </ svg >
19- ) ;
3+ export const Help = ( props : ComponentPropsWithoutRef < 'svg' > ) => {
4+ const maskId = `help-mask-${ Math . random ( ) . toString ( 36 ) . slice ( 2 , 9 ) } ` ;
5+
6+ return (
7+ < svg
8+ xmlns = 'http://www.w3.org/2000/svg'
9+ width = '24'
10+ height = '24'
11+ viewBox = '0 0 24 24'
12+ fill = 'currentColor'
13+ aria-hidden = 'true'
14+ { ...props }
15+ >
16+ < g transform = 'scale(1.09) translate(-1,-1)' >
17+ < defs >
18+ < mask id = { maskId } maskUnits = 'userSpaceOnUse' x = '0' y = '0' width = '24' height = '24' >
19+ < circle cx = '12' cy = '12' r = '10' fill = 'white' />
20+ < path
21+ d = 'M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3'
22+ stroke = 'black'
23+ strokeWidth = '2'
24+ strokeLinecap = 'round'
25+ strokeLinejoin = 'round'
26+ fill = 'none'
27+ />
28+ < path
29+ d = 'M12 17h.01'
30+ stroke = 'black'
31+ strokeWidth = '2'
32+ strokeLinecap = 'round'
33+ strokeLinejoin = 'round'
34+ fill = 'none'
35+ />
36+ </ mask >
37+ </ defs >
38+ < rect x = '0' y = '0' width = '24' height = '24' fill = 'currentColor' mask = { `url(#${ maskId } )` } />
39+ </ g >
40+ </ svg >
41+ ) ;
42+ } ;
You can’t perform that action at this time.
0 commit comments