Logo
Explore Help
Register Sign In
by2025/admin-vben5
9
0
Fork 0
You've already forked admin-vben5
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
06f5d5686dfae5c2ce4da766d69f873b694d0a8d
admin-vben5/packages/@core/shared/iconify/src/create-icon.ts

15 lines
314 B
TypeScript
Raw Normal View History

feat: add the ability to lock the screen (#30) * feat: 锁屏功能 * feat: 锁屏样式调整 * feat: complete the lock-screen screen and support shortcut keys and preference configuration --------- Co-authored-by: vince <vince292007@gmail.com>
2024-07-12 12:14:09 +08:00
import { defineComponent, h } from 'vue';
perf: reduce the number of icon component instances
2024-07-06 21:53:02 +08:00
import { Icon } from '@iconify/vue';
perf: replace vue-sonner with the toast component of shadcn-ui
2024-07-07 11:36:32 +08:00
function createIconifyIcon(icon: string) {
feat: add the ability to lock the screen (#30) * feat: 锁屏功能 * feat: 锁屏样式调整 * feat: complete the lock-screen screen and support shortcut keys and preference configuration --------- Co-authored-by: vince <vince292007@gmail.com>
2024-07-12 12:14:09 +08:00
return defineComponent({
name: `SvgIcon-${icon}`,
setup(props, { attrs }) {
return () => h(Icon, { icon, ...props, ...attrs });
},
});
perf: reduce the number of icon component instances
2024-07-06 21:53:02 +08:00
}
perf: replace vue-sonner with the toast component of shadcn-ui
2024-07-07 11:36:32 +08:00
export { createIconifyIcon };
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.5 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API