<template>
  <div class="page-tooltip">
    <typo-text variant="title-bold">Tooltip</typo-text>
    <hr class="my-3" />
    <div class="pt-1">
      <typo-text variant="body-1-bold" class="text-capitalize">
        Tooltip
      </typo-text>
      <div class="wrap-snackbar">
        <div>
          <div class="library-tooltip" data-title="Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.">
            Library Tooltip Hover Me
          </div>
          <br>
          <pre class="my-0 overflow-hidden">
  {{`<div 
    class="library-tooltip" 
    data-title="Lorem Ipsum has been the industry's standard dummy text ever since the 1500s."
  >
    Library Tooltip Hover Me
  </div>

  * dependency "library-frontend-pajakio/src/assets/style/base.scss"
  `
  }}
          </pre>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import TypoText from "@/components/Typography/TypoText";

export default {
  components: {
    TypoText
  }
}
</script>

<style lang="scss" scoped>
@use "@/assets/style/_color.scss" as *;

.page-tooltip {
  .wrap-snackbar {
    background: $neutral-1;
    padding: 16px 8px;
    display: flex;
    flex-wrap: wrap;
  }
}
</style>