docs: resdesign and restructure modules references (#5372)

* docs: change format of module reference

* description fix

* update structure + comments

* added new options to README

* small text fix

* change section ordering

* change how required/optional are shown

* remove optional text

* docs: redesigned accordion
This commit is contained in:
Shahed Nasser
2023-10-16 19:51:55 +03:00
committed by GitHub
parent 3dada88c81
commit 2d74ec256f
218 changed files with 5434 additions and 7684 deletions

View File

@@ -6,7 +6,10 @@ import clsx from "clsx"
export type MarkdownContentProps = ReactMarkdownOptions
export const MarkdownContent = ({ children }: MarkdownContentProps) => {
export const MarkdownContent = ({
children,
...props
}: MarkdownContentProps) => {
return (
<ReactMarkdown
components={{
@@ -79,6 +82,7 @@ export const MarkdownContent = ({ children }: MarkdownContentProps) => {
)
},
}}
{...props}
>
{children}
</ReactMarkdown>