UNPKG

@coreui/vue

Version:

UI Components Library for Vue.js

26 lines (22 loc) 592 B
'use strict'; var vue = require('vue'); const CNavbarNav = vue.defineComponent({ name: 'CNavbarNav', props: { /** * Component used for the root node. Either a string to use a HTML element or a component. */ as: { type: String, default: 'ul', }, }, setup(props, { slots }) { return () => vue.h(props.as, { class: 'navbar-nav', role: 'navigation', }, slots.default && slots.default()); }, }); exports.CNavbarNav = CNavbarNav; //# sourceMappingURL=CNavbarNav.js.map