Skip to main content

components-theme

TL;DR

Provides a set of custom components for the docusaurus documentation.

After the theme registration, you can use custom components in the *.md[x] files and the React pages by alias @theme/externalComponents/*.

Integration:

1. Add dependency

yarn add -WD "@docusaurus-tde/components-theme"

2. Connect the theme

docusaurus-tde.config.js
module.exports = {
themes: [
'@docusaurus-tde/components-theme',
]
}

Available components:

  • BrowserWindow
import BrowserWindow from '@theme/externalComponents/BrowserWindow';