bootstrap-vue
Version:
Quickly integrate Bootstrap 4 components with Vue.js
20 lines (17 loc) • 530 B
JavaScript
import { mergeData } from "../../utils";
import Link, { propsFactory as linkPropsFactory } from "../link/link";
export var props = linkPropsFactory();
export default {
functional: true,
props: props,
render: function render(h, _ref) {
var props = _ref.props,
data = _ref.data,
children = _ref.children;
return h(Link, mergeData(data, {
props: props,
staticClass: "dropdown-item",
attrs: { role: "menuitem" }
}), children);
}
};