11import React from 'react' ;
2+ import type { SVGProps } from 'react' ;
23
34const iconProps = {
45 width : 16 ,
@@ -11,15 +12,17 @@ const iconProps = {
1112 strokeLinejoin : 'round' as const ,
1213} ;
1314
14- export const IconAperture = ( ) => (
15- < svg { ...iconProps } >
15+ type ExifIconProps = SVGProps < SVGSVGElement > ;
16+
17+ export const IconAperture = ( props : ExifIconProps ) => (
18+ < svg { ...iconProps } { ...props } >
1619 < circle cx = "12" cy = "12" r = "10" />
1720 < path d = "M14.31 8l5.74 9.94M9.69 8h11.48M7.38 12l5.74-9.94M9.69 16L3.95 6.06M14.31 16H2.83M16.62 12l-5.74 9.94" />
1821 </ svg >
1922) ;
2023
21- export const IconShutter = ( ) => (
22- < svg { ...iconProps } >
24+ export const IconShutter = ( props : ExifIconProps ) => (
25+ < svg { ...iconProps } { ... props } >
2326 < circle cx = "12" cy = "12" r = "10" />
2427 < path d = "M12 12V7" />
2528 < path d = "M12 2v2" />
@@ -33,41 +36,41 @@ export const IconShutter = () => (
3336 </ svg >
3437) ;
3538
36- export const IconIso = ( ) => (
37- < svg { ...iconProps } >
39+ export const IconIso = ( props : ExifIconProps ) => (
40+ < svg { ...iconProps } { ... props } >
3841 < rect x = "2" y = "4" width = "20" height = "16" rx = "2" />
3942 < circle cx = "12" cy = "12" r = "3" />
4043 < path d = "M6 8h.01M6 16h.01M18 8h.01M18 16h.01" />
4144 </ svg >
4245) ;
4346
44- export const IconFocalLength = ( ) => (
45- < svg { ...iconProps } >
47+ export const IconFocalLength = ( props : ExifIconProps ) => (
48+ < svg { ...iconProps } { ... props } >
4649 < path d = "M2 12L22 12" />
4750 < path d = "M17 12a5 5 0 0 0-5-5 5 5 0 0 0-5 5" />
4851 < path d = "M2 12l6 8" />
4952 < path d = "M22 12l-6 8" />
5053 </ svg >
5154) ;
5255
53- export const IconCalendar = ( ) => (
54- < svg { ...iconProps } >
56+ export const IconCalendar = ( props : ExifIconProps ) => (
57+ < svg { ...iconProps } { ... props } >
5558 < rect x = "3" y = "4" width = "18" height = "18" rx = "2" ry = "2" />
5659 < line x1 = "16" y1 = "2" x2 = "16" y2 = "6" />
5760 < line x1 = "8" y1 = "2" x2 = "8" y2 = "6" />
5861 < line x1 = "3" y1 = "10" x2 = "21" y2 = "10" />
5962 </ svg >
6063) ;
6164
62- export const IconClock = ( ) => (
63- < svg { ...iconProps } >
65+ export const IconClock = ( props : ExifIconProps ) => (
66+ < svg { ...iconProps } { ... props } >
6467 < circle cx = "12" cy = "12" r = "10" />
6568 < polyline points = "12 6 12 12 16 14" />
6669 </ svg >
6770) ;
6871
69- export const IconLens = ( ) => (
70- < svg { ...iconProps } >
72+ export const IconLens = ( props : ExifIconProps ) => (
73+ < svg { ...iconProps } { ... props } >
7174 < circle cx = "12" cy = "12" r = "10" />
7275 < circle cx = "12" cy = "12" r = "5" />
7376 < path d = "M12 7a5 5 0 0 1 5 5" strokeWidth = "1.5" strokeOpacity = "0.4" />
0 commit comments