diff --git a/src/core/Toast/index.ts b/src/core/Toast/index.ts index f3d0332728..3cbeef93ed 100644 --- a/src/core/Toast/index.ts +++ b/src/core/Toast/index.ts @@ -4,6 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import Toaster from './Toaster'; export type { ToastOptions } from './Toaster'; +export { ToastPresentation } from './Toast'; const toaster = new Toaster(); diff --git a/src/core/index.ts b/src/core/index.ts index 8ac5a772f2..72c1bd4cec 100644 --- a/src/core/index.ts +++ b/src/core/index.ts @@ -201,7 +201,7 @@ export type { TileProps } from './Tile'; export { TimePicker } from './TimePicker'; export type { MeridiemType, TimePickerProps } from './TimePicker'; -export { default as toaster } from './Toast'; +export { default as toaster, ToastPresentation } from './Toast'; export type { ToastOptions } from './Toast'; export { ThemeProvider } from './ThemeProvider';