/** * External dependencies */ // eslint-disable-next-line no-restricted-imports import type { Ref } from 'react'; /** * Internal dependencies */ import { contextConnect, GeChiUIComponentProps } from '../ui/context'; import { View } from '../view'; import { useHeading, HeadingProps } from './hook'; function Heading( props: GeChiUIComponentProps< HeadingProps, 'h1' >, forwardedRef: Ref< any > ) { const headerProps = useHeading( props ); return ; } /** * `Heading` renders headings and titles using the library's typography system. * * @example * ```jsx * import { Heading } from `@gechiui/components` * * function Example() { * return Code is Poetry; * } * ``` */ const ConnectedHeading = contextConnect( Heading, 'Heading' ); export default ConnectedHeading;