<template>
  <div class="rendered-navbar" :style="component.style">
    {{ component.text || 'Navbar' }}
  </div>
</template>

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
  component: Object,
});
</script>

<style scoped>
.rendered-navbar {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-around; /* Example layout */
  align-items: center;
  background-color: var(--panel-color);
  color: var(--text-color);
  padding: 0 1rem;
  box-sizing: border-box;
  border-radius: var(--border-radius); /* Added for rounded corners */
}
</style>
