1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-04-21 12:25:31 -04:00

clean up type definitions

This commit is contained in:
2022-01-30 22:04:25 -05:00
parent f0259dbab5
commit 7a3ea4924c
7 changed files with 13 additions and 23 deletions
-2
View File
@@ -5,8 +5,6 @@ import styles from "./Heading.module.css";
type Props = HTMLAttributes<HTMLHeadingElement> & {
as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
id?: string;
className?: string;
};
const Heading = ({ as: Component, id, className, children, ...rest }: Props) => {