import React from 'react' import { ForwardedRef, forwardRef } from 'react' import { HeadingStyle, H1Style, H2Style, H3Style } from './HeadingStyles' import { HeadingProps, HProps } from './types' function Heading(props: HeadingProps, ref?: ForwardedRef) { const { size = 'md', color = 'text', ...rest } = props return } export default forwardRef(Heading) export const H1 = forwardRef(function H1( props: HProps<'h1'>, ref?: ForwardedRef ) { const { color = 'text', ...rest } = props return }) export const H2 = forwardRef(function H2( props: HProps<'h2'>, ref?: ForwardedRef ) { const { color = 'text', ...rest } = props return }) export const H3 = forwardRef(function H3( props: HProps<'h3'>, ref?: ForwardedRef ) { const { color = 'text', ...rest } = props return })