Skip to content

Commit

Permalink
Clean up Callout exports
Browse files Browse the repository at this point in the history
  • Loading branch information
lyzadanger committed Jul 5, 2023
1 parent 8fdcc36 commit 2869ff9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/feedback/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
export { default as Callout } from './Callout';
export { default as Dialog } from './Dialog';
export { default as Modal } from './Modal';
export { default as ModalDialog } from './ModalDialog';
export { default as Spinner } from './Spinner';
export { default as SpinnerOverlay } from './SpinnerOverlay';

export type { CalloutProps } from './Callout';
export type { DialogProps } from './Dialog';
export type { ModalProps } from './Modal';
export type { ModalDialogProps } from './ModalDialog';
export type { SpinnerProps } from './Spinner';
export type { SpinnerOverlayProps } from './SpinnerOverlay';
export { default as Callout } from './Callout';
export type { CalloutProps } from './Callout';
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export {
Thumbnail,
} from './components/data';
export {
Callout,
Dialog,
Modal,
ModalDialog,
Expand Down Expand Up @@ -84,6 +85,7 @@ export type {
} from './components/data';

export type {
CalloutProps,
DialogProps,
ModalProps,
ModalDialogProps,
Expand Down Expand Up @@ -123,5 +125,3 @@ export type {

// Deprecated
export { useElementShouldClose } from './hooks/use-element-should-close';
export { Callout } from './components/feedback';
export type { CalloutProps } from './components/feedback';

0 comments on commit 2869ff9

Please sign in to comment.