Vulture/VApp/node_modules/.vite/deps/chunk-J5HFPFMJ.js

48 lines
1.1 KiB
JavaScript

import {
makeThemeProps
} from "./chunk-CYOEVGGH.js";
import {
EventProp,
genericComponent,
makeComponentProps,
propsFactory,
useRender
} from "./chunk-I4KGD5X4.js";
import {
createVNode
} from "./chunk-PD2AWGJV.js";
// node_modules/vuetify/lib/components/VLabel/VLabel.mjs
import "C:/Users/Jeremy/Documents/Dev/Projects.cloudsucks.net/Vulture/VApp/node_modules/vuetify/lib/components/VLabel/VLabel.css";
var makeVLabelProps = propsFactory({
text: String,
onClick: EventProp(),
...makeComponentProps(),
...makeThemeProps()
}, "VLabel");
var VLabel = genericComponent()({
name: "VLabel",
props: makeVLabelProps(),
setup(props, _ref) {
let {
slots
} = _ref;
useRender(() => {
var _a;
return createVNode("label", {
"class": ["v-label", {
"v-label--clickable": !!props.onClick
}, props.class],
"style": props.style,
"onClick": props.onClick
}, [props.text, (_a = slots.default) == null ? void 0 : _a.call(slots)]);
});
return {};
}
});
export {
VLabel
};
//# sourceMappingURL=chunk-J5HFPFMJ.js.map