Spaces:
Build error
Build error
File size: 463 Bytes
2606dde |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
<script lang="ts">
export let title = "";
export let classNames = "";
</script>
<div class="flex items-center rounded-xl bg-gray-100 p-1 text-sm dark:bg-gray-800 {classNames}">
<span
class="mr-2 inline-flex items-center rounded-lg bg-gradient-to-br from-yellow-300 px-2 py-1 text-xxs font-medium uppercase leading-3 text-yellow-700 dark:from-[#373010] dark:text-yellow-400"
>New</span
>
{title}
<div class="ml-auto shrink-0">
<slot />
</div>
</div>
|