提交 | 用户 | age | ||
970d40 | 1 | <template> |
V | 2 | <span :class="$attrs.class"> |
3c441a | 3 | <Icon :icon="icon" /> |
970d40 | 4 | </span> |
V | 5 | </template> |
2f6d13 | 6 | <script lang="ts" setup> |
3c441a | 7 | import { Icon } from '/@/components/Icon'; |
2f6d13 | 8 | defineProps({ |
V | 9 | icon: String, |
970d40 | 10 | }); |
V | 11 | </script> |