%PDF- %PDF-
Direktori : /home/ugotscom/3vfm3/node_modules/bootstrap-vue/src/components/dropdown/ |
Current File : /home/ugotscom/3vfm3/node_modules/bootstrap-vue/src/components/dropdown/dropdown-divider.js |
import Vue, { mergeData } from '../../vue' import { NAME_DROPDOWN_DIVIDER } from '../../constants/components' import { makePropsConfigurable } from '../../utils/config' export const props = makePropsConfigurable( { tag: { type: String, default: 'hr' } }, NAME_DROPDOWN_DIVIDER ) // @vue/component export const BDropdownDivider = /*#__PURE__*/ Vue.extend({ name: NAME_DROPDOWN_DIVIDER, functional: true, props, render(h, { props, data }) { const $attrs = data.attrs || {} data.attrs = {} return h('li', mergeData(data, { attrs: { role: 'presentation' } }), [ h(props.tag, { staticClass: 'dropdown-divider', attrs: { ...$attrs, role: 'separator', 'aria-orientation': 'horizontal' }, ref: 'divider' }) ]) } })