diff --git a/components/Docs.tsx b/components/Docs.tsx index 776ca1b..4b2a395 100644 --- a/components/Docs.tsx +++ b/components/Docs.tsx @@ -5,21 +5,21 @@ const Docs = ({ header, description, subheader, children }: DocsProps): JSX.Elem return ( <>
- +

{header}

-

+

{description}

-

+

{subheader}

{children}
@@ -31,7 +31,7 @@ const Docs = ({ header, description, subheader, children }: DocsProps): JSX.Elem export default Docs interface DocsProps { - header: string + header: string | JSX.Element description?: string subheader?: string children: JSX.Element | JSX.Element[]