created:3/15/2021
updated:3/15/2021
source lines:15
comments %:33
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 | (string & {}) | (string & ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<...>)>) | (string & ReactNodeArray) | (string & ReactPortal) | - |
components | components to customize the markdown display. any | - |
file | imports |
---|---|
"../Markdown" | MarkdownMarkdownProps |
"../ThemeContext" | useThemeControlsTheme |