File tree Expand file tree Collapse file tree 6 files changed +34
-2
lines changed Expand file tree Collapse file tree 6 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 2
2
import type { IconProps } from ' ./icon'
3
3
import iconMap from ' ./map'
4
4
5
- export let type: IconProps [' type' ] = ' '
5
+ export let type: IconProps [' type' ] = ' alert '
6
6
export let size: IconProps [' size' ] = 24
7
7
export let color: IconProps [' color' ] = ' '
8
8
Original file line number Diff line number Diff line change 1
1
export type IconProps = {
2
- type : string
2
+ type : 'alert'
3
+ | 'arrow-down'
4
+ | 'arrow-left'
5
+ | 'arrow-right'
6
+ | 'check'
7
+ | 'circle-check'
8
+ | 'close'
9
+ | 'components'
10
+ | 'file'
11
+ | 'github'
12
+ | 'home'
13
+ | 'info'
14
+ | 'moon'
15
+ | 'order'
16
+ | 'search'
17
+ | 'sun'
18
+ | 'warning'
3
19
size ?: number
4
20
color ?: string
5
21
}
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ import ArrowRight from '../../icons/arrow-right.svg?raw'
5
5
import Check from '../../icons/check.svg?raw'
6
6
import CircleCheck from '../../icons/circle-check.svg?raw'
7
7
import Close from '../../icons/close.svg?raw'
8
+ import Components from '../../icons/components.svg?raw'
9
+ import File from '../../icons/file.svg?raw'
8
10
import Github from '../../icons/github.svg?raw'
11
+ import Home from '../../icons/home.svg?raw'
9
12
import Info from '../../icons/info.svg?raw'
10
13
import Moon from '../../icons/moon.svg?raw'
11
14
import Order from '../../icons/order.svg?raw'
@@ -21,7 +24,10 @@ const iconMap = {
21
24
'check' : Check ,
22
25
'circle-check' : CircleCheck ,
23
26
'close' : Close ,
27
+ 'components' : Components ,
28
+ 'file' : File ,
24
29
'github' : Github ,
30
+ 'home' : Home ,
25
31
'info' : Info ,
26
32
'moon' : Moon ,
27
33
'order' : Order ,
You can’t perform that action at this time.
0 commit comments