<template>
  <div class="fullscreen">
    <i
      cursor-pointer
      :class="['iconfont', isFullscreen ? 'icon-suoxiao' : 'icon-fangda']"
      class="toolBar-icon"
      @click="toggle"
    ></i>
  </div>
</template>

<script setup lang="ts">
import { useFullscreen } from '@vueuse/core'
const { toggle, isFullscreen } = useFullscreen()
</script>
