<template>
  <li class="trifle-dropdown-item">
    <a :href="href">
      {{ name }}
    </a>
  </li>
</template>

<script>
export default {
  name: 'DropDownItem',
  props: {
    href: {
      type: String
    },
    name: {
      type: String,
      required: true,
    },
  }
}
</script>

<style lang="scss" scoped>
@import '../const/variable.scss';

.trifle-dropdown-item {
  a {
    padding: 5px 10px;
    display: block;
    color: palette(blue, base);

    &:hover {
      background: palette(blue, tooLight);
    }
  }
}
</style>
