Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

fix: export ToastPresentation #590

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/core/Toast/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
*--------------------------------------------------------------------------------------------*/
import Toaster from './Toaster';
export type { ToastOptions } from './Toaster';
export { ToastPresentation } from './Toast';

const toaster = new Toaster();

Expand Down
2 changes: 1 addition & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down