import {h} from 'preact' export function Link({ href, className, ...props }: { href: string className?: string } & h.JSX.HTMLAttributes) { return ( evt.stopPropagation()} className={`cursor-pointer ${className || ''}`} {...props} /> ) }