Skip to content

Commit

Permalink
Export ToastMessages component and relevant types from main entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Oct 2, 2023
1 parent 946b98c commit 386df2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/feedback/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,16 @@ 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 { default as ToastMessages } from './ToastMessages';

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 type {
ToastMessagesProps,
ToastMessage,
ToastMessageTransitionClasses,
} from './ToastMessages';
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export {
ModalDialog,
Spinner,
SpinnerOverlay,
ToastMessages,
} from './components/feedback';
export {
Button,
Expand Down Expand Up @@ -97,6 +98,9 @@ export type {
ModalDialogProps,
SpinnerProps,
SpinnerOverlayProps,
ToastMessage,
ToastMessageTransitionClasses,
ToastMessagesProps,
} from './components/feedback';

export type {
Expand Down

0 comments on commit 386df2a

Please sign in to comment.