feat: Added href prop to button component
This commit is contained in:
8
docs/components/button/examples/ButtonLinkExample.vue
Normal file
8
docs/components/button/examples/ButtonLinkExample.vue
Normal file
@@ -0,0 +1,8 @@
|
||||
<template>
|
||||
<div class="vp-raw inline-flex align-center gap-2 flex-wrap">
|
||||
<Button color="default" href="https://google.com" target="_blank">Default</Button>
|
||||
</div>
|
||||
</template>
|
||||
<script setup>
|
||||
import { Button } from '../../../../src/index'
|
||||
</script>
|
||||
Reference in New Issue
Block a user