This commit is contained in:
lhj
2024-09-22 01:28:02 +08:00
parent 309e045720
commit 2dccc36d32
128 changed files with 8072 additions and 3243 deletions

12
src/components/Icon.tsx Normal file
View File

@ -0,0 +1,12 @@
// 有点丑陋 但是功能在
import { h, compile } from 'vue';
type Props = {
name: string;
};
const Icon = (props: Props) => {
return(props.name ? h(compile(`<${props.name} />`)) : null)
}
export default Icon;