routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
import { ir as capitalize, pt as h, rr as camelize } from "./vue.runtime.esm-bundler-BvoXUmaf.js";
|
||||
import { n as genericComponent } from "./defineComponent-DB6xIcDy.js";
|
||||
import { t as makeComponentProps } from "./component-DdiwBe6i.js";
|
||||
//#region node_modules/vuetify/lib/util/createSimpleFunctional.js
|
||||
function createSimpleFunctional(klass, tag = "div", name) {
|
||||
return genericComponent()({
|
||||
name: name ?? capitalize(camelize(klass.replace(/__/g, "-"))),
|
||||
props: {
|
||||
tag: {
|
||||
type: String,
|
||||
default: tag
|
||||
},
|
||||
...makeComponentProps()
|
||||
},
|
||||
setup(props, { slots }) {
|
||||
return () => {
|
||||
return h(props.tag, {
|
||||
class: [klass, props.class],
|
||||
style: props.style
|
||||
}, slots.default?.());
|
||||
};
|
||||
}
|
||||
});
|
||||
}
|
||||
//#endregion
|
||||
export { createSimpleFunctional as t };
|
||||
|
||||
//# sourceMappingURL=createSimpleFunctional-Cqw8cOWQ.js.map
|
||||
Reference in New Issue
Block a user