diff options
Diffstat (limited to 'src/components/SearchBarItem.vue')
-rw-r--r-- | src/components/SearchBarItem.vue | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/components/SearchBarItem.vue b/src/components/SearchBarItem.vue index ca79268..69d02e6 100644 --- a/src/components/SearchBarItem.vue +++ b/src/components/SearchBarItem.vue @@ -1,6 +1,6 @@ <script lang="ts" setup> -import type { Tool } from '@/tools/tools.types'; import { toRefs } from 'vue'; +import type { Tool } from '@/tools/tools.types'; const props = defineProps<{ tool: Tool }>(); const { tool } = toRefs(props); @@ -11,8 +11,12 @@ const { tool } = toRefs(props); <n-icon class="icon" :component="tool.icon" /> <div> - <div class="name">{{ tool.name }}</div> - <div class="description">{{ tool.description }}</div> + <div class="name"> + {{ tool.name }} + </div> + <div class="description"> + {{ tool.description }} + </div> </div> </div> </template> |