Skip to content

Commit

Permalink
Expose Toast type
Browse files Browse the repository at this point in the history
- Closes #91
  • Loading branch information
timolins committed Jul 31, 2021
1 parent d7a335e commit b9c2d93
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;

0 comments on commit b9c2d93

Please sign in to comment.