mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 07:01:19 -04:00
export prop types from component files
This commit is contained in:
@@ -5,7 +5,7 @@ import { baseUrl } from "../../lib/config";
|
||||
|
||||
import styles from "./PageTitle.module.css";
|
||||
|
||||
type PageTitleProps = JSX.IntrinsicElements["h1"];
|
||||
export type PageTitleProps = JSX.IntrinsicElements["h1"];
|
||||
|
||||
const PageTitle = ({ className, children, ...rest }: PageTitleProps) => {
|
||||
const router = useRouter();
|
||||
|
Reference in New Issue
Block a user