Skip to content

Commit 0724eac

Browse files
committed
refactor: 新版icon格式
1 parent d9e17fc commit 0724eac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugin/icon-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default interface IconPlugin extends BasePlugin {
1111

1212
open: boolean
1313

14-
icon: string
14+
icon: () => string
1515

1616
onEnabledChange?: (value: boolean, e: MouseEvent) => void
1717
onIconClick?: (e: MouseEvent) => void

0 commit comments

Comments
 (0)