
* feat: 锁屏功能 * feat: 锁屏样式调整 * feat: complete the lock-screen screen and support shortcut keys and preference configuration --------- Co-authored-by: vince <vince292007@gmail.com>
15 lines
314 B
TypeScript
15 lines
314 B
TypeScript
import { defineComponent, h } from 'vue';
|
|
|
|
import { Icon } from '@iconify/vue';
|
|
|
|
function createIconifyIcon(icon: string) {
|
|
return defineComponent({
|
|
name: `SvgIcon-${icon}`,
|
|
setup(props, { attrs }) {
|
|
return () => h(Icon, { icon, ...props, ...attrs });
|
|
},
|
|
});
|
|
}
|
|
|
|
export { createIconifyIcon };
|