feat: add Surface, Link and Spinner components
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<script setup lang="ts">
|
||||
import { IconExternalLink, IconLink } from "@tabler/icons-vue";
|
||||
import { Link, LinkIcon } from "@heroui-vue/components";
|
||||
</script>
|
||||
<template>
|
||||
<div class="flex flex-col gap-3">
|
||||
<Link href="#">
|
||||
外部链接
|
||||
<LinkIcon class="ms-1.5 size-3">
|
||||
<IconExternalLink aria-hidden="true" class="size-full" />
|
||||
</LinkIcon>
|
||||
</Link>
|
||||
<Link class="gap-1" href="#">
|
||||
前往页面
|
||||
<LinkIcon class="size-3">
|
||||
<IconLink aria-hidden="true" class="size-full" />
|
||||
</LinkIcon>
|
||||
</Link>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user