Files
hoppscotch/packages/hoppscotch-app/components/http/TestResultEnv.vue
2022-02-19 06:08:08 +05:30

25 lines
530 B
Vue

<template>
<div class="flex items-center px-4 py-2">
<i class="mr-4 material-icons text-accentLight"> lock </i>
<span class="text-secondaryDark">
{{ env.key }}
</span>
<span class="text-secondaryDark">
{{ ` \xA0 — \xA0 ${env.value}` }}
</span>
<span class="text-secondaryLight">
{{ ` \xA0 ← \xA0 ${env.previousValue}` }}
</span>
</div>
</template>
<script setup lang="ts">
defineProps<{
env: {
key: string
value: string
previousValue: string
}
}>()
</script>