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

24 lines
489 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;
}
const SvgAvatarIcon = createIcon('svg:avatar');
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 {
SvgAvatarIcon,
SvgBellIcon,
SvgCakeIcon,
SvgCardIcon,
SvgDownloadIcon,
};