Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@docusaurus/plugin-client-redirects": "^3.8.1",
"@docusaurus/preset-classic": "^3.8.1",
"@easyops-cn/docusaurus-search-local": "^0.44.5",
"@iconify/react": "^6.0.0",
"@mdx-js/react": "^3.0.1",
"@signalwire/docusaurus-plugin-llms-txt": "^1.2.1",
"clsx": "^2.1.1",
Expand Down
10 changes: 10 additions & 0 deletions docs/src/theme/MDXComponents.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import React from 'react';
// Import the original mapper
import MDXComponents from '@theme-original/MDXComponents';
import { Icon } from '@iconify/react'; // Import the entire Iconify library.

export default {
// Re-use the default mapping
...MDXComponents,
Icon: Icon, // Make the iconify Icon component available in MDX as <icon />.
};
Loading