init component

This commit is contained in:
Robin COuret
2026-02-16 17:28:37 +01:00
parent 460c7a25e0
commit e0e50af706
4557 changed files with 666911 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
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