fwt/src/templates/components/Link/Link.tsx
2025-08-28 16:54:24 +08:00

14 lines
213 B
TypeScript

interface Props {
to: string
children?: any
}
export default (props: Props) => {
return (
<>
<a href={props.to} aria-label={`Go to ${props.to}`}>
{props.children}
</a>
</>
)
}