From 758b06932ec0815a1f1e70de32e815799c9a7d60 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Mon, 24 Jun 2024 02:36:31 +0200 Subject: [PATCH] Add exports for custom `render()` implementations (#21) --- packages/remdx/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/remdx/index.tsx b/packages/remdx/index.tsx index 7c8c7d9..99c0447 100644 --- a/packages/remdx/index.tsx +++ b/packages/remdx/index.tsx @@ -1,11 +1,12 @@ export type { + MDXComponents as ComponentList, ReMDXSlide, Themes, - MDXComponents as ComponentList, } from './types.tsx'; export { default as Deck } from './src/deck.tsx'; export { default as render } from './src/render.tsx'; export { default as Slide } from './src/slide.tsx'; export { default as slidesToComponent } from './src/slidesToComponent.tsx'; -export { useMDXComponents } from '@mdx-js/react'; +export { defaultTransition, Transitions } from './src/transitions.tsx'; +export { MDXProvider, useMDXComponents } from '@mdx-js/react';