Logo
Explore Help
Register Sign In
bichangxiong/ruoyi-plus-vben5
1
0
Fork 0
You've already forked ruoyi-plus-vben5
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
cf0ec053e4c29c6f0cf2baed49dd0c8c381429d6
ruoyi-plus-vben5/packages/@core/base/icons/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: 21ms 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