mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 01:01:17 -04:00
export prop types from component files
This commit is contained in:
@@ -2,7 +2,7 @@ import classNames from "classnames";
|
||||
|
||||
import styles from "./Content.module.css";
|
||||
|
||||
type ContentProps = JSX.IntrinsicElements["div"];
|
||||
export type ContentProps = JSX.IntrinsicElements["div"];
|
||||
|
||||
const Content = ({ className, ...rest }: ContentProps) => (
|
||||
<div className={classNames(styles.content, className)} {...rest} />
|
||||
|
Reference in New Issue
Block a user