@gitlab/ui
Version:
GitLab UI Components
26 lines (20 loc) • 329 B
JavaScript
import { extend } from '../vue';
// --- Props ---
const props = {
plain: {
type: Boolean,
required: false,
default: false
}
};
// --- Mixin ---
// @vue/component
const formCustomMixin = extend({
props,
computed: {
custom() {
return !this.plain;
}
}
});
export { formCustomMixin, props };