* feat(component): New component checkbox * feat(component): checkbox docs and link checkbox * added gradient to home page * remove unused props * code refactor * code refactor * fix type error * convert div to label
14 lines
363 B
Vue
14 lines
363 B
Vue
<template>
|
|
<div>
|
|
<Checkbox v-model="ref1">
|
|
<a href="/" class="text-primary-600 dark:text-primary-500 hover:underline ml-1">I agree with the terms and conditions.</a>
|
|
</Checkbox>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import Checkbox from '../../../../src/components/Checkbox/Checkbox.vue'
|
|
|
|
const ref1 = ref(false)
|
|
</script> |