@liner-fe/icon 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/assets/add-clock/index.tsx +7 -7
- package/assets/add-to-folder/index.tsx +7 -7
- package/assets/ai/index.tsx +7 -7
- package/assets/airplane/index.tsx +7 -7
- package/assets/android/index.tsx +7 -7
- package/assets/apple/index.tsx +7 -7
- package/assets/arrow-back/index.tsx +7 -7
- package/assets/arrow-backward/index.tsx +7 -7
- package/assets/arrow-down/index.tsx +7 -7
- package/assets/arrow-down-left/index.tsx +7 -7
- package/assets/arrow-downward/index.tsx +7 -7
- package/assets/arrow-drop-right/index.tsx +7 -7
- package/assets/arrow-forward/index.tsx +7 -7
- package/assets/arrow-left/index.tsx +7 -7
- package/assets/arrow-right/index.tsx +7 -7
- package/assets/arrow-turn/index.tsx +7 -7
- package/assets/arrow-up/index.tsx +7 -7
- package/assets/arrow-up-down/index.tsx +7 -7
- package/assets/arrow-up-left/index.tsx +7 -7
- package/assets/arrow-up-right/index.tsx +7 -7
- package/assets/arrow-upward/index.tsx +7 -7
- package/assets/bag/index.tsx +7 -7
- package/assets/balance/index.tsx +7 -7
- package/assets/bell/index.tsx +7 -7
- package/assets/block/index.tsx +7 -7
- package/assets/bolt/index.tsx +7 -7
- package/assets/book/index.tsx +7 -7
- package/assets/bookmark/index.tsx +7 -7
- package/assets/bookmark-cancel/index.tsx +7 -7
- package/assets/books/index.tsx +7 -7
- package/assets/brain/index.tsx +7 -7
- package/assets/bulb/index.tsx +7 -7
- package/assets/bulb-exclamtionmark/index.tsx +7 -7
- package/assets/camera/index.tsx +7 -7
- package/assets/car/index.tsx +7 -7
- package/assets/casual-shoe/index.tsx +7 -7
- package/assets/chart-bar/index.tsx +7 -7
- package/assets/chart-line-uptrend/index.tsx +7 -7
- package/assets/check-mark/index.tsx +7 -7
- package/assets/check-mark-fill/index.tsx +7 -7
- package/assets/check-mark-in-circle/index.tsx +7 -7
- package/assets/chrome/index.tsx +7 -7
- package/assets/clock/index.tsx +7 -7
- package/assets/close/index.tsx +7 -7
- package/assets/close-fill/index.tsx +7 -7
- package/assets/collection-add/index.tsx +7 -7
- package/assets/collections/index.tsx +7 -7
- package/assets/color-docx/index.tsx +7 -7
- package/assets/color-excel/index.tsx +7 -7
- package/assets/color-facebook/index.tsx +7 -7
- package/assets/color-fire/index.tsx +7 -7
- package/assets/color-google/index.tsx +7 -7
- package/assets/color-html/index.tsx +7 -7
- package/assets/color-liner/index.tsx +7 -7
- package/assets/color-liner-variation/index.tsx +7 -7
- package/assets/color-link/index.tsx +7 -7
- package/assets/color-pdf/index.tsx +7 -7
- package/assets/color-powerpoint/index.tsx +7 -7
- package/assets/color-txt/index.tsx +7 -7
- package/assets/copy/index.tsx +7 -7
- package/assets/credit/index.tsx +7 -7
- package/assets/credit-add/index.tsx +7 -7
- package/assets/creditcard/index.tsx +7 -7
- package/assets/dark-mode/index.tsx +7 -7
- package/assets/description/index.tsx +7 -7
- package/assets/desktop/index.tsx +7 -7
- package/assets/desktop-on-cursor/index.tsx +7 -7
- package/assets/document/index.tsx +7 -7
- package/assets/document-add/index.tsx +7 -7
- package/assets/document-check/index.tsx +7 -7
- package/assets/document-warning/index.tsx +7 -7
- package/assets/double-arrow-backward/index.tsx +7 -7
- package/assets/double-arrow-forward/index.tsx +7 -7
- package/assets/download/index.tsx +7 -7
- package/assets/drop-down/index.tsx +7 -7
- package/assets/drop-up/index.tsx +7 -7
- package/assets/email/index.tsx +7 -7
- package/assets/end/index.tsx +7 -7
- package/assets/essay/index.tsx +7 -7
- package/assets/exclamationmark/index.tsx +7 -7
- package/assets/exclamationmark-fill/index.tsx +7 -7
- package/assets/expand/index.tsx +7 -7
- package/assets/expand-close/index.tsx +7 -7
- package/assets/extend/index.tsx +7 -7
- package/assets/facebook/index.tsx +7 -7
- package/assets/feedback/index.tsx +7 -7
- package/assets/filter/index.tsx +7 -7
- package/assets/fire/index.tsx +7 -7
- package/assets/flowchart/index.tsx +7 -7
- package/assets/focus/index.tsx +7 -7
- package/assets/folder/index.tsx +7 -7
- package/assets/folder-add/index.tsx +7 -7
- package/assets/folder-open/index.tsx +7 -7
- package/assets/folder-open-share/index.tsx +7 -7
- package/assets/folder-share/index.tsx +7 -7
- package/assets/formal-bag/index.tsx +7 -7
- package/assets/globe/index.tsx +7 -7
- package/assets/google/index.tsx +7 -7
- package/assets/google-export/index.tsx +7 -7
- package/assets/graduationcap/index.tsx +7 -7
- package/assets/help/index.tsx +7 -7
- package/assets/hide-all/index.tsx +7 -7
- package/assets/highlight-edit/index.tsx +7 -7
- package/assets/highlighter/index.tsx +7 -7
- package/assets/history/index.tsx +7 -7
- package/assets/home/index.tsx +7 -7
- package/assets/hourglass/index.tsx +7 -7
- package/assets/info/index.tsx +7 -7
- package/assets/light/index.tsx +7 -7
- package/assets/light-mode/index.tsx +7 -7
- package/assets/liner/index.tsx +7 -7
- package/assets/link/index.tsx +7 -7
- package/assets/list/index.tsx +7 -7
- package/assets/literature-review/index.tsx +7 -7
- package/assets/location/index.tsx +7 -7
- package/assets/lock/index.tsx +7 -7
- package/assets/m-new-tab/index.tsx +7 -7
- package/assets/magic-pencil/index.tsx +7 -7
- package/assets/magic-wand/index.tsx +7 -7
- package/assets/make-easy/index.tsx +7 -7
- package/assets/members/index.tsx +7 -7
- package/assets/memo/index.tsx +7 -7
- package/assets/menu/index.tsx +7 -7
- package/assets/microscope/index.tsx +7 -7
- package/assets/mindmap/index.tsx +7 -7
- package/assets/minus/index.tsx +7 -7
- package/assets/mobile/index.tsx +7 -7
- package/assets/more/index.tsx +7 -7
- package/assets/more-horizontal/index.tsx +7 -7
- package/assets/more-vertical/index.tsx +7 -7
- package/assets/move/index.tsx +7 -7
- package/assets/move-to-folder/index.tsx +7 -7
- package/assets/new-chrome-extension/index.tsx +7 -7
- package/assets/new-tab/index.tsx +7 -7
- package/assets/new-thread/index.tsx +7 -7
- package/assets/new-thread-folder/index.tsx +7 -7
- package/assets/palette/index.tsx +7 -7
- package/assets/paperclip/index.tsx +7 -7
- package/assets/paragraph/index.tsx +7 -7
- package/assets/paraphrase/index.tsx +7 -7
- package/assets/pencil/index.tsx +7 -7
- package/assets/person/index.tsx +7 -7
- package/assets/person-add/index.tsx +7 -7
- package/assets/person-fill/index.tsx +7 -7
- package/assets/photo/index.tsx +7 -7
- package/assets/play-button/index.tsx +7 -7
- package/assets/plus/index.tsx +7 -7
- package/assets/power/index.tsx +7 -7
- package/assets/question-box/index.tsx +7 -7
- package/assets/question-message/index.tsx +7 -7
- package/assets/quote/index.tsx +7 -7
- package/assets/redo/index.tsx +7 -7
- package/assets/regenerate/index.tsx +7 -7
- package/assets/remove-from-folder/index.tsx +7 -7
- package/assets/report/index.tsx +7 -7
- package/assets/restaurant/index.tsx +7 -7
- package/assets/retry/index.tsx +7 -7
- package/assets/rocket/index.tsx +7 -7
- package/assets/search/index.tsx +7 -7
- package/assets/secret-mode/index.tsx +7 -7
- package/assets/send/index.tsx +7 -7
- package/assets/setting/index.tsx +7 -7
- package/assets/share/index.tsx +7 -7
- package/assets/sheet-export/index.tsx +7 -7
- package/assets/shield/index.tsx +7 -7
- package/assets/shield-person/index.tsx +7 -7
- package/assets/shield-usage/index.tsx +7 -7
- package/assets/shorten/index.tsx +7 -7
- package/assets/show-all/index.tsx +7 -7
- package/assets/sign-out/index.tsx +7 -7
- package/assets/source/index.tsx +7 -7
- package/assets/speaker/index.tsx +7 -7
- package/assets/spinner/index.tsx +7 -7
- package/assets/stack/index.tsx +7 -7
- package/assets/star/index.tsx +7 -7
- package/assets/start/index.tsx +7 -7
- package/assets/step/index.tsx +7 -7
- package/assets/stop/index.tsx +7 -7
- package/assets/summarize/index.tsx +7 -7
- package/assets/survey/index.tsx +7 -7
- package/assets/target/index.tsx +7 -7
- package/assets/teams/index.tsx +7 -7
- package/assets/text-select/index.tsx +7 -7
- package/assets/thumb-down/index.tsx +7 -7
- package/assets/thumb-up/index.tsx +7 -7
- package/assets/timer/index.tsx +7 -7
- package/assets/translate/index.tsx +7 -7
- package/assets/trash/index.tsx +7 -7
- package/assets/tune/index.tsx +7 -7
- package/assets/twitter/index.tsx +7 -7
- package/assets/undo/index.tsx +7 -7
- package/assets/verification-badge/index.tsx +7 -7
- package/assets/view-list/index.tsx +7 -7
- package/assets/visibility/index.tsx +7 -7
- package/assets/visibility-off/index.tsx +7 -7
- package/assets/volume/index.tsx +7 -7
- package/assets/volume-up/index.tsx +7 -7
- package/assets/zoom-in/index.tsx +7 -7
- package/assets/zoom-out/index.tsx +7 -7
- package/index.tsx +2 -10
- package/lib/index.d.ts +200 -207
- package/lib/index.js +1195 -1003
- package/package.json +1 -1
package/assets/zoom-in/index.tsx
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface ZoomInProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconZoomIn = forwardRef<SVGSVGElement, ZoomInProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M19.5002 19.5005V14H22.5002V19.5005H28.0007V22.5005H22.5002V28.0007H19.5002V22.5005H14V19.5005H19.5002Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path fillRule="evenodd" clipRule="evenodd" d="M30.4931 32.6144C27.9073 34.7305 24.6019 36 21 36C12.7157 36 6 29.2843 6 21C6 12.7157 12.7157 6 21 6C29.2843 6 36 12.7157 36 21C36 24.6019 34.7305 27.9073 32.6144 30.4931L41.5607 39.4393L39.4393 41.5607L30.4931 32.6144ZM33 21C33 27.6274 27.6274 33 21 33C14.3726 33 9 27.6274 9 21C9 14.3726 14.3726 9 21 9C27.6274 9 33 14.3726 33 21Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
</svg>
|
|
21
21
|
;
|
|
22
22
|
} else if (fill) {
|
|
23
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
24
|
<path d="M19.5002 19.5005V14H22.5002V19.5005H28.0007V22.5005H22.5002V28.0007H19.5002V22.5005H14V19.5005H19.5002Z" style={{ fill: `var(--${type})` }}/>
|
|
25
25
|
<path fillRule="evenodd" clipRule="evenodd" d="M30.4931 32.6144C27.9073 34.7305 24.6019 36 21 36C12.7157 36 6 29.2843 6 21C6 12.7157 12.7157 6 21 6C29.2843 6 36 12.7157 36 21C36 24.6019 34.7305 27.9073 32.6144 30.4931L41.5607 39.4393L39.4393 41.5607L30.4931 32.6144ZM33 21C33 27.6274 27.6274 33 21 33C14.3726 33 9 27.6274 9 21C9 14.3726 14.3726 9 21 9C27.6274 9 33 14.3726 33 21Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
</svg>
|
|
27
27
|
;
|
|
28
28
|
} else if (thick) {
|
|
29
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
29
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
30
|
<path d="M19.0002 19.0005V14H23.0002V19.0005H28.0007V23.0005H23.0002V28.0007H19.0002V23.0005H14V19.0005H19.0002Z" style={{ fill: `var(--${type})` }}/>
|
|
31
31
|
<path fillRule="evenodd" clipRule="evenodd" d="M30.0982 32.9267C27.5746 34.8547 24.4211 36 21 36C12.7157 36 6 29.2843 6 21C6 12.7157 12.7157 6 21 6C29.2843 6 36 12.7157 36 21C36 24.4211 34.8547 27.5746 32.9267 30.0982L41.9142 39.0858L39.0858 41.9142L30.0982 32.9267ZM32 21C32 27.0751 27.0751 32 21 32C14.9249 32 10 27.0751 10 21C10 14.9249 14.9249 10 21 10C27.0751 10 32 14.9249 32 21Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
</svg>
|
|
33
33
|
;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
37
37
|
<path d="M19.5002 19.5005V14H22.5002V19.5005H28.0007V22.5005H22.5002V28.0007H19.5002V22.5005H14V19.5005H19.5002Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path fillRule="evenodd" clipRule="evenodd" d="M30.4931 32.6144C27.9073 34.7305 24.6019 36 21 36C12.7157 36 6 29.2843 6 21C6 12.7157 12.7157 6 21 6C29.2843 6 36 12.7157 36 21C36 24.6019 34.7305 27.9073 32.6144 30.4931L41.5607 39.4393L39.4393 41.5607L30.4931 32.6144ZM33 21C33 27.6274 27.6274 33 21 33C14.3726 33 9 27.6274 9 21C9 14.3726 14.3726 9 21 9C27.6274 9 33 14.3726 33 21Z" style={{ fill: `var(--${type})` }}/>
|
|
39
39
|
</svg>
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { SVGProps } from 'react';
|
|
4
4
|
|
|
5
5
|
interface ZoomOutProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
6
6
|
fill?: boolean;
|
|
7
7
|
thick?: boolean;
|
|
8
8
|
className?: string;
|
|
9
|
-
size?:
|
|
9
|
+
size?: keyof typeof iconSizeMap;
|
|
10
10
|
type?: BasicColorType;
|
|
11
11
|
fillType?: BasicColorType;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
export const IconZoomOut = forwardRef<SVGSVGElement, ZoomOutProps>(
|
|
15
|
-
({ fill = false, thick = false, size =
|
|
15
|
+
({ fill = false, thick = false, size = 'm', type = 'neutral-label-primary', className, fillType = 'inverse-label-primary', ...props }, ref) => {
|
|
16
16
|
if (fill && thick) {
|
|
17
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
17
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
18
18
|
<path d="M28.0007 19.5L14 19.5V22.5H28.0007V19.5Z" style={{ fill: `var(--${type})` }}/>
|
|
19
19
|
<path fillRule="evenodd" clipRule="evenodd" d="M21 36C24.6019 36 27.9073 34.7305 30.4931 32.6144L39.4393 41.5607L41.5607 39.4393L32.6144 30.4931C34.7305 27.9073 36 24.6019 36 21C36 12.7157 29.2843 6 21 6C12.7157 6 6 12.7157 6 21C6 29.2843 12.7157 36 21 36ZM21 33C27.6274 33 33 27.6274 33 21C33 14.3726 27.6274 9 21 9C14.3726 9 9 14.3726 9 21C9 27.6274 14.3726 33 21 33Z" style={{ fill: `var(--${type})` }}/>
|
|
20
20
|
</svg>
|
|
21
21
|
;
|
|
22
22
|
} else if (fill) {
|
|
23
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
23
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
24
24
|
<path d="M28.0007 19.5L14 19.5V22.5H28.0007V19.5Z" style={{ fill: `var(--${type})` }}/>
|
|
25
25
|
<path fillRule="evenodd" clipRule="evenodd" d="M21 36C24.6019 36 27.9073 34.7305 30.4931 32.6144L39.4393 41.5607L41.5607 39.4393L32.6144 30.4931C34.7305 27.9073 36 24.6019 36 21C36 12.7157 29.2843 6 21 6C12.7157 6 6 12.7157 6 21C6 29.2843 12.7157 36 21 36ZM21 33C27.6274 33 33 27.6274 33 21C33 14.3726 27.6274 9 21 9C14.3726 9 9 14.3726 9 21C9 27.6274 14.3726 33 21 33Z" style={{ fill: `var(--${type})` }}/>
|
|
26
26
|
</svg>
|
|
27
27
|
;
|
|
28
28
|
} else if (thick) {
|
|
29
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
29
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
30
30
|
<path d="M28.0007 19L14 19V23H28.0007V19Z" style={{ fill: `var(--${type})` }}/>
|
|
31
31
|
<path fillRule="evenodd" clipRule="evenodd" d="M21 36C24.4211 36 27.5746 34.8547 30.0982 32.9267L39.0858 41.9142L41.9142 39.0858L32.9267 30.0982C34.8547 27.5746 36 24.4211 36 21C36 12.7157 29.2843 6 21 6C12.7157 6 6 12.7157 6 21C6 29.2843 12.7157 36 21 36ZM21 32C27.0751 32 32 27.0751 32 21C32 14.9249 27.0751 10 21 10C14.9249 10 10 14.9249 10 21C10 27.0751 14.9249 32 21 32Z" style={{ fill: `var(--${type})` }}/>
|
|
32
32
|
</svg>
|
|
33
33
|
;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
return <svg width={size} height={size} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
36
|
+
return <svg width={iconSizeMap[size]} height={iconSizeMap[size]} viewBox="0 0 48 48" fill="none" ref={ref} className={className} {...props}>
|
|
37
37
|
<path d="M28.0007 19.5L14 19.5V22.5H28.0007V19.5Z" style={{ fill: `var(--${type})` }}/>
|
|
38
38
|
<path fillRule="evenodd" clipRule="evenodd" d="M21 36C24.6019 36 27.9073 34.7305 30.4931 32.6144L39.4393 41.5607L41.5607 39.4393L32.6144 30.4931C34.7305 27.9073 36 24.6019 36 21C36 12.7157 29.2843 6 21 6C12.7157 6 6 12.7157 6 21C6 29.2843 12.7157 36 21 36ZM21 33C27.6274 33 33 27.6274 33 21C33 14.3726 27.6274 9 21 9C14.3726 9 9 14.3726 9 21C9 27.6274 14.3726 33 21 33Z" style={{ fill: `var(--${type})` }}/>
|
|
39
39
|
</svg>
|
package/index.tsx
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, SVGProps } from 'react';
|
|
2
|
-
import { BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
|
+
import { BasicColorType, iconSizeMap } from '@liner-fe/design-token-primitive';
|
|
3
3
|
import { IconArrowUpward } from './assets/arrow-upward';
|
|
4
4
|
import { IconArrowDownward } from './assets/arrow-downward';
|
|
5
5
|
import { IconArrowBack } from './assets/arrow-back';
|
|
@@ -605,14 +605,6 @@ export const IconMap: Record<IconName, React.ForwardRefExoticComponent<any>> = {
|
|
|
605
605
|
"color-link": IconColorLink
|
|
606
606
|
} as const;
|
|
607
607
|
|
|
608
|
-
const iconSizeMap = {
|
|
609
|
-
xs: 16,
|
|
610
|
-
s: 20,
|
|
611
|
-
m: 24,
|
|
612
|
-
l: 32,
|
|
613
|
-
xl: 40,
|
|
614
|
-
} as const;
|
|
615
|
-
|
|
616
608
|
export interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'fill'> {
|
|
617
609
|
fill?: boolean;
|
|
618
610
|
thick?: boolean;
|
|
@@ -629,5 +621,5 @@ export const Icon = forwardRef<SVGSVGElement, IconProps>(({name, size = "m", ...
|
|
|
629
621
|
return null;
|
|
630
622
|
}
|
|
631
623
|
|
|
632
|
-
return <IconComponent {...props} ref={ref} size={
|
|
624
|
+
return <IconComponent {...props} ref={ref} size={size} />;
|
|
633
625
|
});
|