nly-adminlte-vue
Version:
nly adminlte3 components
26 lines (23 loc) • 523 B
JavaScript
import Vue from "../../utils/vue";
import {
NlyNavbarBrandtext,
props as textProps
} from "../navbar/navbar-brandtext";
import { mergeData } from "vue-functional-data-merge";
const name = "NlySidebarBrandtext";
export const NlySidebarBrandtext = Vue.extend({
name: name,
functional: true,
props: {
...textProps
},
render(h, { props, data, children }) {
return h(
NlyNavbarBrandtext,
mergeData(data, {
props: props
}),
children
);
}
});