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