refactor: ♻️ Redesign post composer

This commit is contained in:
Jesse Wierzbinski 2025-12-09 22:12:23 +01:00
parent ef7475aead
commit 7ff9d2302a
No known key found for this signature in database
17 changed files with 327 additions and 203 deletions

View file

@ -0,0 +1,21 @@
<script setup lang="ts">
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
import type { InputGroupButtonProps } from ".";
import { inputGroupButtonVariants } from ".";
const props = withDefaults(defineProps<InputGroupButtonProps>(), {
size: "xs",
variant: "ghost",
});
</script>
<template>
<Button
:data-size="props.size"
:variant="props.variant"
:class="cn(inputGroupButtonVariants({ size: props.size }), props.class)"
>
<slot />
</Button>
</template>