created:3/5/2021
updated:3/5/2021
loc
23
comments
52%
passed
4
coverage
100%
Markdown
Markdown display component to compile and display markdown at run-time. Uses markdown-to-jsx internally.
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 | - |
9 commits
package | imports | peer |
---|---|---|
markdown-to-jsx ^6.11.0 | MarkdownToJSXMarkdownOptions | |
react ^17.0.1 | FC | * |
theme-ui ^0.8.4 | jsx |
file | imports |
---|---|
"./MarkdownComponents" | markdownComponents |