Files
speckle-aectech-masterclass/frontend/src/components/viewer/ObjectValueViewer.vue
T
2021-10-28 10:27:17 +02:00

27 lines
441 B
Vue

<template lang="html">
<div class="ml-4 my-2">
<b>{{ keyName }}</b>
<code class="ml-4">{{ value }}</code>
</div>
</template>
<script>
export default {
name: "ObjectsValueViewer",
components: {},
props: {
value: {
type: [Number, String, Boolean],
default: null
},
streamId: {
type: String,
default: null
},
keyName: {
type: String,
default: null
}
}
}
</script>