SupportedRenderers
API / @publicodes/react-ui / SupportedRenderers
type SupportedRenderers = object;
Defined in: contexts.tsx:13
The custom renderers for the markdown content.
Type declaration
Name | Type | Description | Defined in |
---|---|---|---|
Accordion ? | ComponentType <AccordionProps > | Accordion used for developer documentation. | contexts.tsx:35 |
Code ? | ComponentType <CodeProps > | Block of code in pre | contexts.tsx:39 |
Head ? | ComponentType <{ children : ReactNode ; }> | - | contexts.tsx:24 |
Link ? | ComponentType <{ aria-label : string ; children : ReactNode ; href : string ; onClick : () => void ; small : boolean ; title : string ; to : string ; }> | - | contexts.tsx:14 |
References ? | typeof References | - | contexts.tsx:31 |
Text ? | ComponentType <{ children : string ; }> | Used to render a rule description or title. Useful to parse markdown, links or emojies. | contexts.tsx:30 |