Skip to content

Commit

Permalink
Merge pull request #103 from timolins/expose-toast
Browse files Browse the repository at this point in the history
Expose `Toast` type
  • Loading branch information
timolins committed Jul 31, 2021
2 parents d7a335e + b9c2d93 commit 23fc7fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { toast } from './core/toast';
import {
ToastOptions as _ToastOptions,
ToastPosition as _ToastPosition,
Toast as _Toast,
} from './core/types';
export { useToaster } from './core/use-toaster';
export { ToastBar } from './components/toast-bar';
Expand All @@ -17,6 +18,7 @@ export { resolveValue } from './core/types';

export type ToastOptions = _ToastOptions;
export type ToastPosition = _ToastPosition;
export type Toast = _Toast;

export { toast };
export default toast;

1 comment on commit 23fc7fb

@vercel
Copy link

@vercel vercel bot commented on 23fc7fb Jul 31, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.