Files
caravel/frontend/src/components/BackLink.tsx
T
2026-02-27 13:23:41 -08:00

15 lines
317 B
TypeScript

import { A } from "@solidjs/router"
type BackLinkProps = {
href: string
label: string
}
export default function BackLink(props: BackLinkProps) {
return (
<div class="flex items-center gap-2 mb-6">
<A href={props.href} class="text-gray-500 hover:text-gray-700"> {props.label}</A>
</div>
)
}