mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-17 07:45:32 -04:00
custom <Link />
wrapper around next/link
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import classNames from "classnames";
|
||||
import type { ReactNode } from "react";
|
||||
import type { PropsWithChildren } from "react";
|
||||
|
||||
import styles from "./List.module.css";
|
||||
|
||||
type Props = {
|
||||
children: ReactNode;
|
||||
type Props = PropsWithChildren<{
|
||||
className?: string;
|
||||
};
|
||||
}>;
|
||||
|
||||
export const UnorderedList = ({ className, ...rest }: Props) => (
|
||||
<ul className={classNames(styles.unordered, className)} {...rest} />
|
||||
|
Reference in New Issue
Block a user