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