reiji-h пре 2 година
родитељ
комит
3b31481146

+ 1 - 1
packages/presentation/src/components/Slides.tsx

@@ -6,13 +6,13 @@ import Head from 'next/head';
 import { ReactMarkdown } from 'react-markdown/lib/react-markdown';
 
 import type { PresentationOptions } from '../consts';
+import { presentationSlideStyle } from '../interfaces';
 import * as extractSections from '../services/renderer/extract-sections';
 
 import './Slides.global.scss';
 
 export const MARP_CONTAINER_CLASS_NAME = 'marpit';
 
-export type presentationSlideStyle = 'true' | 'marp' | null;
 
 const marp = new Marp({
   container: [

+ 1 - 0
packages/presentation/src/index.ts

@@ -1,2 +1,3 @@
 export * from './components/Presentation';
 export * from './components/Slides';
+export * from './interfaces';

+ 1 - 0
packages/presentation/src/interfaces/index.ts

@@ -0,0 +1 @@
+export type presentationSlideStyle = 'true' | 'marp' | null;