@overmap-ai/blocks 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,3 @@
1
- # overmap-ai blocks
2
-
3
- Contains basic components used by overmap-ai libraries.
1
+ # overmap-ai blocks
2
+
3
+ Contains basic components used by overmap-ai libraries.
@@ -1,4 +1,6 @@
1
1
  import { FC } from "react";
2
- import { ToastContextProviderProps } from "./typings";
2
+ import { ToastContextProviderProps, ToastProps } from "./typings";
3
+ /** this is a hack to allow toasts to be shown outside of components where hooks cannot be used */
4
+ export declare let unsafeShowToast: ((toastProps: ToastProps) => void) | undefined;
3
5
  /** Toasts will be displayed in the top-right handle corner of the screen */
4
6
  export declare const ToastProvider: FC<ToastContextProviderProps>;