<template>
  <div class="demo-tooltip-slot">
    <ui-tooltip
      placement="top-start">
      <ui-button>查看提示</ui-button>
      <div slot="content">
        这是一段提示<br />还带换行
      </div>
    </ui-tooltip>
  </div>
</template>
<script>
import { Tooltip, Button } from "amumu-ui"
export default {
  components: {
    "ui-tooltip": Tooltip,
    "ui-button": Button,
  },
  data() {
    return {
      value: "",
    }
  },
}
</script>
