1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| <script lang="ts" setup>
| import { RotateCw } from '../../../../../base/icons/src';
|
| const emit = defineEmits(['refresh']);
|
| const handleRefresh = () => {
| emit('refresh');
| };
| </script>
|
| <template>
| <div
| class="flex-center h-full cursor-pointer border-l border-border px-2 text-lg font-semibold text-muted-foreground hover:bg-muted hover:text-foreground"
| @click="handleRefresh"
| >
| <RotateCw class="size-4" />
| </div>
| </template>
|
|