+ {/* Notification panel, dynamically insert this into the live region when it needs to be displayed */}
+ {toasts.map(({ id, title, subtitle, variant }) => (
+ {
+ closeToast(id);
+ }}
+ />
+ ))}
+
+
+
+ );
+}
diff --git a/packages/ui/src/index.tsx b/packages/ui/src/index.tsx
index 586920c7..1a7d77fa 100644
--- a/packages/ui/src/index.tsx
+++ b/packages/ui/src/index.tsx
@@ -49,6 +49,12 @@ export { default as TextArea } from './TextArea/TextArea';
// TextInput
export * from './TextInput/TextInput';
export { default as TextInput } from './TextInput/TextInput';
+// Toast
+export * from './Toast/Toast';
+export { default as Toast } from './Toast/Toast';
+// ToastsProvider
+export * from './Toast/ToastsProvider';
+export { default as ToastsProvider } from './Toast/ToastsProvider';
// Typeahead
export * from './Typeahead/Typeahead';
export { default as Typeahead } from './Typeahead/Typeahead';