@coreui/vue
Version:
UI Components Library for Vue.js
27 lines (24 loc) • 732 B
JavaScript
import { defineComponent, h } from 'vue';
import { Color } from '../../props.js';
const CTableFoot = defineComponent({
name: 'CTableFoot',
props: {
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
*
* @values 'primary', 'secondary', 'success', 'danger', 'warning', 'info', 'dark', 'light', string
*/
color: Color,
},
setup(props, { slots }) {
return () => h('tfoot', {
class: [
{
[`table-${props.color}`]: props.color,
},
],
}, slots.default && slots.default());
},
});
export { CTableFoot };
//# sourceMappingURL=CTableFoot.js.map