mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-09-18 16:05:33 -04:00
clean up type definitions
This commit is contained in:
@@ -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) => {
|
||||
|
Reference in New Issue
Block a user