Skip to content

Commit

Permalink
Fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
titouanmathis committed Sep 19, 2022
1 parent 9d8f945 commit 9ba6f6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions packages/tests/__snapshots__/index.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ exports[`components exports 1`] = `
"MenuBtn",
"MenuList",
"Modal",
"ModalWithTransition",
"Panel",
"PrefetchWhenOver",
"PrefetchWhenVisible",
Expand All @@ -40,6 +41,7 @@ exports[`components exports 1`] = `
"SliderItem",
"SliderProgress",
"Sticky",
"TableOfContent",
"TableOfContentAnchor",
"Tabs",
"Transition",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/molecules/Modal/ModalWithTransition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Modal } from './Modal.js';
/**
* ModalWithTransition class.
*/
export default class ModalWithTransition<T extends BaseProps = BaseProps> extends Modal<T> {
export class ModalWithTransition<T extends BaseProps = BaseProps> extends Modal<T> {
/**
* Modal options.
*/
Expand Down
1 change: 1 addition & 0 deletions packages/ui/molecules/Modal/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './Modal.js';
export * from './ModalWithTransition.js';
2 changes: 1 addition & 1 deletion packages/ui/molecules/TableOfContent/TableOfContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface TableOfContentProps extends BaseProps {
/**
* TableOfContent class.
*/
export default class TableOfContent<T extends BaseProps = BaseProps> extends Base<T & TableOfContentProps> {
export class TableOfContent<T extends BaseProps = BaseProps> extends Base<T & TableOfContentProps> {
/**
* Config.
*/
Expand Down

0 comments on commit 9ba6f6b

Please sign in to comment.