Files
ruoyi-plus-vben5/packages/icons/src/svg/index.ts

30 lines
700 B
TypeScript
Raw Normal View History

2024-05-19 21:20:42 +08:00
import { createIcon } from '@vben-core/iconify';
import { loadSvgIcons } from './load';
let loaded = false;
if (!loaded) {
loadSvgIcons();
loaded = true;
}
2024-06-29 14:45:02 +08:00
const SvgAvatar1Icon = createIcon('svg:avatar-1');
const SvgAvatar2Icon = createIcon('svg:avatar-2');
const SvgAvatar3Icon = createIcon('svg:avatar-3');
const SvgAvatar4Icon = createIcon('svg:avatar-4');
2024-06-23 23:18:55 +08:00
const SvgDownloadIcon = createIcon('svg:download');
const SvgCardIcon = createIcon('svg:card');
const SvgBellIcon = createIcon('svg:bell');
const SvgCakeIcon = createIcon('svg:cake');
2024-05-19 21:20:42 +08:00
2024-06-23 23:18:55 +08:00
export {
2024-06-29 14:45:02 +08:00
SvgAvatar1Icon,
SvgAvatar2Icon,
SvgAvatar3Icon,
SvgAvatar4Icon,
2024-06-23 23:18:55 +08:00
SvgBellIcon,
SvgCakeIcon,
SvgCardIcon,
SvgDownloadIcon,
};