// 有点丑陋 但是功能在
import { h, compile } from 'vue';

type Props = {
	name: string;
};
const Icon = (props: Props) => {
	return(props.name ? h(compile(`<${props.name} />`)) : null)
}

export default Icon;

