import { defineComponent , h } from 'vue' ; import { Color , TextColor } from '../props' ; const CCard = defineComponent ( { name : 'CCard' , props : { values color : Color , values textColor : TextColor , } , setup ( props , { slots } ) { return ( ) => h ( 'div' , { class : [ 'card' , { [ `bg-${ props . color }` ] : props . color , [ `text-${ props . textColor }` ] : props . textColor , } , ] , } , slots . default && slots . default ( ) ) ; } , } ) ; export { CCard } ;