created:3/5/2021
updated:3/5/2021
loc
15
comments
33%
passed
2
coverage
67%
Description
Markdown content with custom components - for example
<p />
is with smaller margin than regular markdown content.Name | Description | Default |
---|---|---|
children | the markdown source code is passed as a children pro. string & ReactNode | - |
components | components to customize the markdown display. { [key: string]: ComponentOverride<any, any>; a?: ComponentOverride<any, any>; br?: ComponentOverride<any, any> | undefined; ... 28 more ...; ul?: ComponentOverride<...> | undefined; } | undefined | - |
file | imports |
---|---|
"../Markdown" | MarkdownMarkdownProps |
"../ThemeContext" | useThemeControlsTheme |