<script setup lang="ts">
import { toRefs, ref } from 'vue'

const props = defineProps({
  params: {
    type: Object,
    required: true,
  },
})
const { params } = toRefs(props)
const arg = params.value
const classes = ref<string>(arg['classes'])
</script>

<template>
  <div class="stw-heading-control">
    <h2 :class="classes">
      {{ arg['content'] }}
    </h2>
  </div>
</template>