<template>
  <div class="parallelogram" v-for="index in props.numberOfDivs" :key="index"> </div>
</template>

<script setup lang="ts">
  const props = defineProps(['color', 'numberOfDivs']);
</script>

<style lang="scss" scoped>
  .parallelogram {
    width: 21px;
    height: 10px;
    margin-top: 6px;
    margin-right: 1px;
    background-color: v-bind('`${props.color}`');
    transform: skewX(-40deg);
  }
</style>
