import { defineComponent , h } from 'vue' ; import { Color } from '../props' ; const CTableDataCell = defineComponent ( { name : 'CTableDataCell' , props : { /**
         * Highlight a table row or cell.
         */ active : { type : Boolean , required : false , } , values align : { type : String , default : undefined , required : false , validator : ( value ) => { return [ 'bottom' , 'middle' , 'top' ] . includes ( value ) ; } , } , values color : Color , } , setup ( props , { slots } ) { return ( ) => h ( 'td' , { class : [ { [ `align-${ props . align }` ] : props . align , 'table-active' : props . active , [ `table-${ props . color }` ] : props . color , } , ] , } , slots . default && slots . default ( ) ) ; } , } ) ; export { CTableDataCell } ;