From 8e1e6153fa79ae5bbaaa87b25645b85b52c2288a Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 2 Oct 2023 15:24:45 +0200 Subject: [PATCH] Export ToastMessages component and relevant types from main entry point --- src/components/feedback/index.ts | 6 ++++++ src/index.ts | 4 ++++ 2 files changed, 10 insertions(+) diff --git a/src/components/feedback/index.ts b/src/components/feedback/index.ts index 2b556b23..e98a47e8 100644 --- a/src/components/feedback/index.ts +++ b/src/components/feedback/index.ts @@ -4,6 +4,7 @@ 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'; @@ -11,3 +12,8 @@ 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'; diff --git a/src/index.ts b/src/index.ts index 5046096f..9361f146 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,6 +32,7 @@ export { ModalDialog, Spinner, SpinnerOverlay, + ToastMessages, } from './components/feedback'; export { Button, @@ -97,6 +98,9 @@ export type { ModalDialogProps, SpinnerProps, SpinnerOverlayProps, + ToastMessage, + ToastMessageTransitionClasses, + ToastMessagesProps, } from './components/feedback'; export type {