mirror of
https://github.com/rustfs/console.git
synced 2026-11-03 06:33:31 +08:00
16 lines
374 B
Vue
16 lines
374 B
Vue
<script setup lang="ts">
|
|
import type { HTMLAttributes, CSSProperties } from 'vue'
|
|
import { cn } from '@/lib/utils'
|
|
|
|
const props = defineProps<{
|
|
class?: HTMLAttributes['class']
|
|
style?: CSSProperties | string
|
|
}>()
|
|
</script>
|
|
|
|
<template>
|
|
<td :class="cn('p-4 align-middle [&:has([role=checkbox])]:pr-0', props.class)" :style="props.style">
|
|
<slot />
|
|
</td>
|
|
</template>
|