UNPKG

@shopware-ag/meteor-component-library

Version:

The meteor component library is a Vue component library developed by Shopware. It is based on the [Meteor Design System](https://shopware.design/).

32 lines (26 loc) 483 B
import { defineComponent } from "vue"; export default defineComponent({ props: { mapInheritance: { type: Object, required: false, default: null, }, name: { type: String, required: false, default: null, }, }, computed: { formFieldName() { if (this.$attrs.name) { return this.$attrs.name as string; } if (this.name) { return this.name; } return undefined; }, }, });