<template>
  <div>
    <tiny-action-menu :options="options" spacing="8px"> </tiny-action-menu>
    <br />
    <tiny-action-menu :options="options" :spacing="20"> </tiny-action-menu>
  </div>
</template>

<script setup>
import { ref } from 'vue'
import { TinyActionMenu } from '@opentiny/vue'

const options = ref([
  {
    label: '远程登录'
  },
  {
    label: '开机'
  },
  {
    label: '关机'
  },
  {
    label: '重启'
  },
  {
    label: '网络设置',
    children: [{ label: '更改安全组' }, { label: '切换 VPC', divided: true }]
  }
])
</script>
