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