mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 10:16:19 +01:00
13 lines
336 B
JavaScript
13 lines
336 B
JavaScript
import React from 'react';
|
|
import classNames from 'classnames';
|
|
import NextLink from 'next/link';
|
|
import styles from './Link.module.css';
|
|
|
|
export default function Link({ className, children, ...props }) {
|
|
return (
|
|
<NextLink {...props}>
|
|
<a className={classNames(styles.link, className)}>{children}</a>
|
|
</NextLink>
|
|
);
|
|
}
|