mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 23:00:49 -05:00
consistent arrow functions
This commit is contained in:
@@ -3,7 +3,9 @@ import type { ComponentPropsWithoutRef } from "react";
|
||||
|
||||
import styles from "./HorizontalRule.module.css";
|
||||
|
||||
const HorizontalRule = ({ className, ...rest }: ComponentPropsWithoutRef<"hr">) => (
|
||||
export type HorizontalRuleProps = ComponentPropsWithoutRef<"hr">;
|
||||
|
||||
const HorizontalRule = ({ className, ...rest }: HorizontalRuleProps) => (
|
||||
<hr className={clsx(styles.hr, className)} {...rest} />
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user