mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2026-01-20 20:01:22 +00:00
- SearchResources is a feature component that handles communication with the backend and fetches the search results - Those results are passed to SearchableInput which displays the results in a ds-select dropdown and handles interacting with them - SearchInput renders the SearchHeading, SearchPost, and HcUser generic components - Would love to make the SearchableInput more generic and reusable, or create a new reusable component for this, but I think this will happen just when we migrate the Search.vue from the styleguide Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
16 lines
288 B
Vue
16 lines
288 B
Vue
<template>
|
|
<ds-flex-item>
|
|
<ds-heading soft size="h5">
|
|
{{ $t(`search.heading.${resourceType}`) }}
|
|
</ds-heading>
|
|
</ds-flex-item>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: 'SearchHeading',
|
|
props: {
|
|
resourceType: { type: String, required: true },
|
|
},
|
|
}
|
|
</script>
|