<template>
  <ul :class="getModifiersClass('c-list', modifiers)">
    <slot />
  </ul>
</template>

<script setup lang="ts">
import type { ModifierItems } from './list.config';
import useComponentModifiers from '../../composable/useComponentModifiers';

defineProps<{
  modifiers?: ModifierItems;
}>();

const { getModifiersClass } = useComponentModifiers();
</script>
