UNPKG

@coreui/vue

Version:

UI Components Library for Vue.js

23 lines (19 loc) 534 B
'use strict'; var vue = require('vue'); const CFormText = vue.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 () => vue.h(props.as, { class: 'form-text' }, slots.default && slots.default()); }, }); exports.CFormText = CFormText; //# sourceMappingURL=CFormText.js.map