import classNames from "classnames"; import type { HTMLAttributes } from "react"; import styles from "./Heading.module.css"; type Props = HTMLAttributes & { as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"; className?: string; }; const Heading = ({ as: Component, className, ...rest }: Props) => { return ; }; export const H1 = (props: Props) => ; export const H2 = (props: Props) => ; export const H3 = (props: Props) => ; export const H4 = (props: Props) => ; export const H5 = (props: Props) => ; export const H6 = (props: Props) => ; export default Heading;