<script lang="ts">
  export default {
    props: {
      modelValue: String // previously was `value: String`
    },

    emits: ['update:modelValue'],

    methods: {
      changeTitle(title) {
        this.$emit('update:modelValue', title)
      }
    }
  }
</script>