Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit e82a7de

Browse files
committed
feat: add extend icons to mergedIcons
1 parent 24d27ee commit e82a7de

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ const ChakraUIVuePlugin: Plugin = {
3333
})
3434

3535
let libraryIcons = options.icons?.library || {}
36+
let extendedIcons = options.icons?.extend || {}
3637

3738
// Initialize colormode
3839
const colorMode = theme.config?.initialColorMode || 'dark'
@@ -51,6 +52,7 @@ const ChakraUIVuePlugin: Plugin = {
5152
const mergedIcons: MergedIcons = {
5253
...internalIcons,
5354
...libraryIcons,
55+
...extendedIcons,
5456
}
5557
app.provide('$chakraIcons', mergedIcons)
5658
},

0 commit comments

Comments
 (0)