@coreui/vue
Version:
UI Components Library for Vue.js
21 lines (18 loc) • 527 B
JavaScript
import { defineComponent, h } from 'vue';
const CModalTitle = defineComponent({
name: 'CModalTitle',
props: {
/**
* Component used for the root node. Either a string to use a HTML element or a component.
*/
as: {
type: String,
default: 'h5',
},
},
setup(props, { slots }) {
return () => h(props.as, { class: 'modal-title' }, slots.default && slots.default());
},
});
export { CModalTitle };
//# sourceMappingURL=CModalTitle.js.map