Initial mock up of the app
This commit is contained in:
KM
2024-01-22 12:03:56 +01:00
commit 6e4dc5e9db
239 changed files with 32153 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
<script setup>
import { Primitive } from "radix-vue";
import { buttonVariants } from ".";
import { cn } from "@/lib/utils";
defineProps({
variant: { type: null, required: false },
size: { type: null, required: false },
as: { type: String, required: false, default: "button" },
asChild: { type: Boolean, required: false },
});
</script>
<template>
<Primitive
:as="as"
:as-child="asChild"
:class="cn(buttonVariants({ variant, size }), $attrs.class ?? '')"
>
<slot />
</Primitive>
</template>