| 1 | import { useContext } from 'react'; |
| 2 | import { RevealContext } from './reveal-context'; |
| 3 | |
| 4 | export { Deck } from './components/deck'; |
| 5 | export { Slide } from './components/slide'; |
| 6 | export { Stack } from './components/stack'; |
| 7 | export { Markdown } from './components/markdown'; |
| 8 | export { Fragment } from './components/fragment'; |
| 9 | export { Code } from './components/code'; |
| 10 | export { RevealContext } from './reveal-context'; |
| 11 | |
| 12 | export type { |
| 13 | DeckProps, |
| 14 | SlideProps, |
| 15 | StackProps, |
| 16 | MarkdownProps, |
| 17 | MarkdownOptions, |
| 18 | FragmentProps, |
| 19 | CodeProps, |
| 20 | } from './types'; |
| 21 | |
| 22 | export function useReveal() { |
| 23 | return useContext(RevealContext); |
| 24 | } |
| 25 |