mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 16:05:33 -04:00
export prop types from component files
This commit is contained in:
@@ -2,7 +2,7 @@ import classNames from "classnames";
|
||||
|
||||
import styles from "./HorizontalRule.module.css";
|
||||
|
||||
type HorizontalRuleProps = JSX.IntrinsicElements["hr"];
|
||||
export type HorizontalRuleProps = JSX.IntrinsicElements["hr"];
|
||||
|
||||
const HorizontalRule = ({ className, ...rest }: HorizontalRuleProps) => (
|
||||
<hr className={classNames(styles.hr, className)} {...rest} />
|
||||
|
Reference in New Issue
Block a user