update packages and add valign
This commit is contained in:
15
scripts/reveal.js/react/src/index.ts
Normal file
15
scripts/reveal.js/react/src/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { useContext } from 'react';
|
||||
import { RevealContext } from './context';
|
||||
|
||||
export { Deck } from './Deck';
|
||||
export { Slide } from './Slide';
|
||||
export { Stack } from './Stack';
|
||||
export { Fragment } from './Fragment';
|
||||
export { Code } from './Code';
|
||||
export { RevealContext } from './context';
|
||||
|
||||
export type { DeckProps, SlideProps, StackProps, FragmentProps, CodeProps } from './types';
|
||||
|
||||
export function useReveal() {
|
||||
return useContext(RevealContext);
|
||||
}
|
||||
Reference in New Issue
Block a user