45 lines
549 B
Vue
45 lines
549 B
Vue
<template>
|
|
<span>
|
|
<span class="argumentName">
|
|
{{ argName }}
|
|
</span>
|
|
:
|
|
<typelink
|
|
:type="argType"
|
|
:jumpTypeCallback="jumpCallback"
|
|
/>
|
|
</span>
|
|
</template>
|
|
|
|
<style>
|
|
</style>
|
|
|
|
<script>
|
|
import typelink from './typelink';
|
|
|
|
export default {
|
|
components: {
|
|
typelink: typelink
|
|
},
|
|
|
|
props: {
|
|
gqlArg: Object
|
|
},
|
|
|
|
computed: {
|
|
argName() {
|
|
return this.gqlArg.name;
|
|
},
|
|
argType() {
|
|
return this.gqlArg.type;
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
jumpCallback(typeName) {
|
|
|
|
}
|
|
}
|
|
}
|
|
</script>
|