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

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

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

<style scoped>
.rendered-sidebar {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; /* Example layout */
  justify-content: flex-start;
  align-items: center;
  background-color: var(--panel-color);
  padding: 1rem;
  border-right: 1px solid var(--border-color);
  box-sizing: border-box;
  color: var(--text-color); /* Added for text visibility */
  border-radius: var(--border-radius); /* Added for rounded corners */
}
</style>
