File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed
Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change 11<script setup lang="ts">
22const router = useRouter ()
33const canGoBack = useCanGoBack ()
4-
5- withDefaults (
6- defineProps <{
7- class? : string
8- }>(),
9- {
10- class: ' ' ,
11- },
12- )
134 </script >
145
156<template >
167 <button
178 v-if =" canGoBack"
189 type =" button"
19- :class =" [
20- 'inline-flex items-center gap-2 p-1.5 -mx-1.5 font-mono text-sm text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70 shrink-0',
21- $props.class,
22- ]"
10+ class =" inline-flex items-center gap-2 p-1.5 -mx-1.5 font-mono text-sm text-fg-muted hover:text-fg transition-colors duration-200 rounded focus-visible:outline-accent/70 shrink-0"
2311 @click =" router.back()"
2412 >
2513 <span class =" i-lucide:arrow-left rtl-flip w-4 h-4" aria-hidden =" true" />
You can’t perform that action at this time.
0 commit comments