routie dev init since i didn't adhere to any proper guidance up until now
This commit is contained in:
+25
@@ -0,0 +1,25 @@
|
||||
import { normalizeClass as _normalizeClass, normalizeStyle as _normalizeStyle, createVNode as _createVNode } from "vue";
|
||||
// Components
|
||||
import { VLabel } from "../VLabel/index.js"; // Composables
|
||||
import { makeComponentProps } from "../../composables/component.js"; // Utilities
|
||||
import { genericComponent, propsFactory, useRender } from "../../util/index.js";
|
||||
export const makeVFieldLabelProps = propsFactory({
|
||||
floating: Boolean,
|
||||
...makeComponentProps()
|
||||
}, 'VFieldLabel');
|
||||
export const VFieldLabel = genericComponent()({
|
||||
name: 'VFieldLabel',
|
||||
props: makeVFieldLabelProps(),
|
||||
setup(props, {
|
||||
slots
|
||||
}) {
|
||||
useRender(() => _createVNode(VLabel, {
|
||||
"class": _normalizeClass(['v-field-label', {
|
||||
'v-field-label--floating': props.floating
|
||||
}, props.class]),
|
||||
"style": _normalizeStyle(props.style)
|
||||
}, slots));
|
||||
return {};
|
||||
}
|
||||
});
|
||||
//# sourceMappingURL=VFieldLabel.js.map
|
||||
Reference in New Issue
Block a user