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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user