2024-01-15 12:33:15 +00:00
|
|
|
import * as customComponents from '../article-components'
|
|
|
|
import * as apiComponents from './api-docs'
|
2024-06-13 13:47:13 +00:00
|
|
|
import { Code, CodeBlock, CodeLinkProvider } from './code'
|
2024-01-15 12:33:15 +00:00
|
|
|
import {
|
|
|
|
A,
|
|
|
|
ApiHeading,
|
|
|
|
Blockquote,
|
2024-02-29 16:28:45 +00:00
|
|
|
Callout,
|
2024-01-15 12:33:15 +00:00
|
|
|
Divider,
|
|
|
|
Embed,
|
|
|
|
Heading1,
|
|
|
|
Heading2,
|
|
|
|
Heading3,
|
|
|
|
Heading4,
|
|
|
|
Heading5,
|
|
|
|
Heading6,
|
|
|
|
Image,
|
|
|
|
ListItem,
|
|
|
|
OrderedList,
|
|
|
|
Paragraph,
|
2024-02-12 14:30:55 +00:00
|
|
|
Pre,
|
2024-01-15 12:33:15 +00:00
|
|
|
Small,
|
|
|
|
TD,
|
|
|
|
THead,
|
|
|
|
TR,
|
|
|
|
Table,
|
|
|
|
UnorderedList,
|
|
|
|
Video,
|
|
|
|
} from './generic'
|
|
|
|
|
|
|
|
export const components = {
|
2024-02-12 14:30:55 +00:00
|
|
|
a: A,
|
|
|
|
blockquote: Blockquote,
|
|
|
|
code: Code,
|
2024-06-13 13:47:13 +00:00
|
|
|
CodeLinkProvider,
|
2024-01-15 12:33:15 +00:00
|
|
|
h1: Heading1,
|
|
|
|
h2: Heading2,
|
|
|
|
h3: Heading3,
|
|
|
|
h4: Heading4,
|
|
|
|
h5: Heading5,
|
|
|
|
h6: Heading6,
|
|
|
|
hr: Divider,
|
2024-02-12 14:30:55 +00:00
|
|
|
img: Image,
|
|
|
|
li: ListItem,
|
|
|
|
ol: OrderedList,
|
2024-01-15 12:33:15 +00:00
|
|
|
p: Paragraph,
|
2024-02-12 14:30:55 +00:00
|
|
|
pre: Pre,
|
2024-01-15 12:33:15 +00:00
|
|
|
table: Table,
|
2024-02-12 14:30:55 +00:00
|
|
|
td: TD,
|
2024-01-15 12:33:15 +00:00
|
|
|
thead: THead,
|
|
|
|
tr: TR,
|
|
|
|
ul: UnorderedList,
|
2024-02-12 14:30:55 +00:00
|
|
|
video: Video,
|
|
|
|
ApiHeading,
|
|
|
|
CodeBlock,
|
|
|
|
Embed,
|
2024-01-15 12:33:15 +00:00
|
|
|
Image,
|
2024-02-12 14:30:55 +00:00
|
|
|
Small: Small,
|
2024-01-15 12:33:15 +00:00
|
|
|
Video,
|
2024-02-29 16:28:45 +00:00
|
|
|
Callout,
|
2024-01-15 12:33:15 +00:00
|
|
|
...customComponents,
|
|
|
|
...apiComponents,
|
|
|
|
}
|