mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 16:28:28 -04:00
13 lines
366 B
TypeScript
13 lines
366 B
TypeScript
import clsx from "clsx";
|
|
import type { ComponentPropsWithoutRef } from "react";
|
|
|
|
import styles from "./HorizontalRule.module.css";
|
|
|
|
export type HorizontalRuleProps = ComponentPropsWithoutRef<"hr">;
|
|
|
|
const HorizontalRule = ({ className, ...rest }: HorizontalRuleProps) => (
|
|
<hr className={clsx(styles.hr, className)} {...rest} />
|
|
);
|
|
|
|
export default HorizontalRule;
|