Files
manolia-alpha/node_modules/buetify/lib/utils/getSimpleFunctionalComponent.js
Robin COuret e0e50af706 init component
2026-02-16 17:28:37 +01:00

11 lines
299 B
JavaScript
Executable File

import { h } from 'vue';
export function getSimpleFunctionalComponent(cls, el = 'div') {
return function (props, {
slots
}) {
return h(props.tag ?? el, {
class: cls
}, slots.default ? slots.default() : undefined);
};
}
//# sourceMappingURL=getSimpleFunctionalComponent.js.map