mirror of
https://github.com/umami-software/umami.git
synced 2026-02-10 07:37:11 +01:00
Implement redux.
This commit is contained in:
parent
9d8a2406e1
commit
5d4ff5cfa4
31 changed files with 341 additions and 85 deletions
|
|
@ -3,9 +3,9 @@ import classNames from 'classnames';
|
|||
import NextLink from 'next/link';
|
||||
import styles from './Link.module.css';
|
||||
|
||||
export default function Link({ href, className, children }) {
|
||||
export default function Link({ className, children, ...props }) {
|
||||
return (
|
||||
<NextLink href={href}>
|
||||
<NextLink {...props}>
|
||||
<a className={classNames(styles.link, className)}>{children}</a>
|
||||
</NextLink>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue