diff --git a/packages/kint5-document/src/elements/text/headings.tsx b/packages/kint5-document/src/elements/text/headings.tsx index 7111b560c2..75a6467454 100644 --- a/packages/kint5-document/src/elements/text/headings.tsx +++ b/packages/kint5-document/src/elements/text/headings.tsx @@ -1,5 +1,5 @@ import { ComponentType } from 'react' -import { H1, H2, H3, H4 } from '@titicaca/core-elements' +import { H1, H2, H3, H4 } from '@titicaca/kint5-core-elements' interface HeadingProps { href?: string @@ -11,10 +11,16 @@ interface HeadingProps { export const MH1 = tripleDocumentHeading( ({ children, ...props }: HeadingProps) => (

{children}

@@ -23,7 +29,11 @@ export const MH1 = tripleDocumentHeading( export const MH2 = tripleDocumentHeading( ({ children, ...props }: HeadingProps) => ( -

+

{children}

), @@ -33,6 +43,7 @@ export const MH3 = tripleDocumentHeading( ({ compact, children, ...props }: HeadingProps & { compact: boolean }) => (

{children} @@ -42,7 +53,14 @@ export const MH3 = tripleDocumentHeading( export const MH4 = tripleDocumentHeading( ({ children, ...props }: HeadingProps) => ( -

+

{children}

),