<template>
  <div class="parent">
    <tiny-float-button bottom="-15px" right="100px" trigger="" :icon="IconDel"> </tiny-float-button>
  </div>
</template>

<script>
import { TinyFloatButton } from '@opentiny/vue'
import { iconDel } from '@opentiny/vue-icon'

export default {
  components: {
    TinyFloatButton
  },
  data() {
    return {
      IconDel: iconDel()
    }
  }
}
</script>

<style scoped>
.parent {
  position: relative;
}

.tiny-float-button {
  position: absolute;
}
</style>
