* feat(ui): add `input group` base component * feat(history): add history viewer and rewind * test: update selector snapshot * test: add PW base page * style: apply TS style fixes * chore(history): request history wiki * chore(history): remove unwanted symbol * chore: fix type * style: apply TS style fixes
22 lines
486 B
Vue
22 lines
486 B
Vue
<script setup lang="ts">
|
|
import { cn } from '@/utils';
|
|
import type { HTMLAttributes } from 'vue';
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes['class'];
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<span
|
|
:class="
|
|
cn(
|
|
'flex items-center gap-2 text-sm text-zinc-500 dark:text-zinc-400 [&_svg]:pointer-events-none [&_svg:not([class*=\'size-\'])]:size-4',
|
|
props.class,
|
|
)
|
|
"
|
|
>
|
|
<slot />
|
|
</span>
|
|
</template>
|