<template>
  <Button
    img="icon-header-counter-clockwise"
    title="Rotate Counterclockwise"
    :onClick="rotateCounterclockwise"
  />
  <Button
    img="icon-header-clockwise"
    title="Rotate Clockwise"
    :onClick="rotateClockwise"
  />
</template>

<script setup>
  import core from '@/core'

  const rotateCounterclockwise = () => {
    core.rotateCounterclockwise()
  }
  const rotateClockwise = () => {
    core.rotateClockwise()
  }
</script>
