mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 23:33:37 +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>
|
|
);
|
|
}
|