import { type Component } from 'vue';
// UI组件导出
export { default as Button } from './Button.vue';
export { default as Input } from './Input.vue';
export { default as Card } from './Card.vue';
export { default as Tabs } from './Tabs.vue';
// 工具函数
export function cn(...classes: string[]): string {
return classes.filter(Boolean).join(' ');
}
// SVG图标集合
export const Icons = {
// 基础图标
Grid: (): Component => ({
template: `
`
}),
Search: (): Component => ({
template: `
`
}),
Send: (): Component => ({
template: `
`
}),
Loading: (): Component => ({
template: `
`
}),
Folder: (): Component => ({
template: `
`
}),
Clock: (): Component => ({
template: `
`
}),
ChevronRight: (): Component => ({
template: `
`
}),
Download: (): Component => ({
template: `
`
}),
Copy: (): Component => ({
template: `
`
}),
};