<template>
  <v-text-field
    v-model="text"
    type="text"
    class="search-bar"
    name="search-query"
    outlined
    append-icon="mdi-magnify"
    :label="$t('what') + ' ?'"
    @change="$emit('change', text)"
    @click:append="$emit('change', text)"
  />
</template>

<script>
export default {
  data () {
    return {
      text: ''
    }
  }
}
</script>

<style>
.v-input__control {
  height: 56px;
}
</style>
