mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-15 17:55:08 +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>
|
|
);
|
|
}
|