<template>
  <div class="listing-separator" :class="!getTablet && 'mt-xxl mb-l'">
    <Title :color="$_theme('colorPrimary')" tag="h4" class="mt-s">
      {{ title }}
    </Title>
  </div>
</template>

<script>
import { Title } from 'inside-collection/atoms'

export default {
  name: 'ListingSeparator',
  $_i18nRootPath: 'customs.HOMEPAGE.heromodule',
  components: {
    Title
  },
  props: {
    title: {
      type: String,
      required: true
    }
  }
}
</script>

<style lang="scss">
.listing-separator {
  width: 100%;
  border-top: 1px solid var(--color-primary);
}
</style>
