Collection of theme-ui and external components.
Theme UI
created:3/15/2021
updated:3/15/2021
source lines:15
comments %:33

Description

@component-controls/components
3.4.5

Markdown content with custom components - for example

<p />
is with smaller margin than regular markdown content.

import { Description } from '@component-controls/components';

Overview

Some description markdown

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
-

package
imports
peer
react
^17.0.1
FC
*
theme-ui
^0.6.0-alpha.7
jsx

file
imports
"../Markdown"
MarkdownMarkdownProps
"../ThemeContext"
useThemeControlsTheme