feat(component): New radio component (#161)
* radio initial * initial radio * Update src/components/Radio/Radio.vue * Update src/components/Radio/Radio.vue * Update docs/components/radio/examples/ListRadio.vue * Update docs/components/radio/examples/LinkRadio.vue * Update docs/components/radio/examples/InlineRadio.vue * Update docs/components/radio/examples/HorizontalListRadio.vue * Update docs/components/radio/examples/DisabledRadio.vue * Update docs/components/radio/examples/DefaultRadio.vue * Update docs/components/radio/examples/BorderedRadio.vue * Update src/components/Radio/Radio.vue --------- Co-authored-by: Ilya Artamonov <ilya.sosidka@gmail.com>
This commit is contained in:
12
docs/components/radio/examples/LinkRadio.vue
Normal file
12
docs/components/radio/examples/LinkRadio.vue
Normal file
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<Radio v-model="picked" value="first" name="with-link">
|
||||
I agree with the <a href="/" class="text-primary-600 dark:text-primary-500 hover:underline ml-1">terms and conditions</a>.
|
||||
</Radio>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import Radio from '../../../../src/components/Radio/Radio.vue'
|
||||
import { ref } from 'vue'
|
||||
|
||||
const picked = ref('first')
|
||||
</script>
|
||||
Reference in New Issue
Block a user