| 1234567891011121314151617 |
- import type { ComponentType } from 'react';
- import type { Options as ReactMarkdownOptions, Components } from 'react-markdown';
- import type { PluggableList } from 'unified';
- export type RendererOptions = Omit<ReactMarkdownOptions, 'remarkPlugins' | 'rehypePlugins' | 'components' | 'children'> & {
- remarkPlugins: PluggableList,
- rehypePlugins: PluggableList,
- components?:
- | Partial<
- Components
- & {
- [elem: string]: ComponentType<any>,
- }
- >
- | undefined
- };
|