mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-05-15 20:54:28 -04:00
consistent arrow functions
This commit is contained in:
@@ -3,7 +3,9 @@ import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./CodeInline.module.css";
|
||||
|
||||
const CodeInline = ({ className, ...rest }: ComponentPropsWithoutRef<"code">) => (
|
||||
export type CodeInlineProps = ComponentPropsWithoutRef<"code">;
|
||||
|
||||
const CodeInline = ({ className, ...rest }: CodeInlineProps) => (
|
||||
<code className={clsx(styles.codeInline, className)} {...rest} />
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user