Skip to content
Snippets Groups Projects
EubOPENSearchBar.vue 1.36 KiB
Newer Older
<template>
  <div class="d-flex align-center search-bar-container white">
    <SearchAutocomplete label="Search in EUbOPEN" :examples="examples" eubopen/>
  </div>
</template>

<script>
import SearchAutocomplete from '~/web-components-submodule/components/common/Masthead/Autocomplete/SearchAutocomplete.vue'

export default {
  components: {
    SearchAutocomplete,
  },
  data() {
    return {
      examples: [
        {
          key: 'BAY-693',
          value: 'BAY-693',
          title: 'BAY-693',
          type: 'default',
        },
        {
          key: 'Kinase',
          value: 'Kinase',
          title: 'Kinase',
          type: 'default',
        },
        {
          key: 'BRD4',
          value: 'BRD4',
          title: 'BRD4',
          type: 'default',
        },
        {
          key: 'P18113',
          value: 'P18113',
          title: 'P18113',
          type: 'default',
        },
        {
          key: 'TRPA1',
          value: 'TRPA1',
          title: 'TRPA1',
          type: 'default',
        },
        {
          key: 'PTGFR',
          value: 'PTGFR',
          title: 'PTGFR',
          type: 'default',
        },
      ],
    }
  },
}
</script>

<style lang="scss" scoped>
.search-bar-container {
  width: 100%;
  .input-container {
    padding: 0 0 0 5px;
    width: 100%;
    .search-input {
      margin-top: 0;
    }
  }
}
</style>