<template>
  <div :class="[ui.base, ui.background, ui.rounded]" />
</template>

<script>
import { computed, defineComponent } from "vue";
import { defu } from "defu";
import { useAppConfig } from "#imports";
import appConfig from "#build/app.config";
export default defineComponent({
  props: {
    ui: {
      type: Object,
      default: () => appConfig.ui.skeleton
    }
  },
  setup(props) {
    const appConfig2 = useAppConfig();
    const ui = computed(() => defu({}, props.ui, appConfig2.ui.skeleton));
    return {
      // eslint-disable-next-line vue/no-dupe-keys
      ui
    };
  }
});
</script>
