consistent arrow functions

This commit is contained in:
jake committed 2025-03-12 18:10:11 -04:00
1 parent 6a57fde2f1
commit e61ca889a7
39 files changed
+121 -126

No files matched your search

+3 -1
View File
@@ -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} />
);