mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-02-19 14:49:10 -06:00
* patch: next * patch: axios * nextra 2 -> 3 * final fixes for docs * fix: v0-docs * chore: update dependencies * chore: update fe * chore: final fixes * fix: vite * fix: generate * chore: generate * chore: generate * lint
18 lines
404 B
JavaScript
18 lines
404 B
JavaScript
// MDX components for Nextra 4
|
|
import React from 'react';
|
|
import { Callout, Card, Cards, Steps, Tabs, FileTree } from 'nextra/components';
|
|
|
|
export function useMDXComponents(components) {
|
|
return {
|
|
...components,
|
|
// Adding Nextra components so they can be used in MDX files
|
|
Callout,
|
|
Card,
|
|
Cards,
|
|
Steps,
|
|
Tabs,
|
|
FileTree,
|
|
// You can add your custom components here
|
|
}
|
|
}
|