<template>
    <div>
        <p class="grid-element">{{ namespace.metadata.name }}</p>
        <p class="grid-element">{{ calcAge(namespace.metadata.creationTimestamp) }}</p>
    </div>
</template>

<script setup lang="ts">
import type { Namespace } from '~/classes/Namespace';
import { calcAge } from '~/classes/Pod';

defineProps<{
    namespace: Namespace
}>();
</script>