Skip to content

Commit

Permalink
Export fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
microbit-matt-hillsdon committed Sep 10, 2024
1 parent ee3ed35 commit 454d34a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"npm": ">=10"
},
"exports": {
"vanilla": {
"./vanilla": {
"import": "./dist/vanilla/index.js",
"types": "./dist/vanilla/index.d.ts"
},
"react": {
"./react": {
"import": "./dist/react/index.js",
"types": "./dist/react/index.d.ts"
}
Expand Down
6 changes: 6 additions & 0 deletions src/react/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ export {
type UseMakeCodeRenderBlocksReturn,
} from './useMakeCodeRenderBlocks.js';

export { MakeCodeRenderBlocksProvider } from './MakeCodeRenderBlocksProvider.js';
export {
default as MakeCodeBlocksRendering,
type MakeCodeBlocksRenderingProps,
} from './MakeCodeBlocksRendering.js';

export {
defaultMakeCodeProject,
emptyMakeCodeProject,
Expand Down

0 comments on commit 454d34a

Please sign in to comment.