mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-04-21 10:45:30 -04:00
export prop types from component files
This commit is contained in:
@@ -4,7 +4,7 @@ import type { HTMLAttributes } from "react";
|
||||
|
||||
import styles from "./Heading.module.css";
|
||||
|
||||
type HeadingProps = HTMLAttributes<HTMLHeadingElement> & {
|
||||
export type HeadingProps = HTMLAttributes<HTMLHeadingElement> & {
|
||||
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user