utopia-ui 3.0.0-alpha.0 → 3.0.0-alpha.2

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.
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
- declare type ModalProps = {
3
- clickAction: () => void;
2
+ declare type ChapterProps = {
3
+ clickAction?: () => void;
4
4
  };
5
- export declare function Welcome1({ clickAction }: ModalProps): JSX.Element;
6
- export declare function Welcome2({ clickAction }: ModalProps): JSX.Element;
7
- export declare function Welcome3({ clickAction }: ModalProps): JSX.Element;
5
+ export declare function Welcome1({ clickAction }: ChapterProps): JSX.Element;
6
+ export declare function Welcome2({ clickAction }: ChapterProps): JSX.Element;
7
+ export declare function Welcome3({ clickAction }: ChapterProps): JSX.Element;
8
8
  export declare function Modal(): JSX.Element;
9
9
  export {};
package/dist/index.d.ts CHANGED
@@ -4,3 +4,8 @@ export { AuthProviderDirectus, useAuthDirectus } from "./Components/Auth";
4
4
  export { Settings } from './Components/Profile';
5
5
  export { Quests, Modal } from './Components/Gaming';
6
6
  import "./index.css";
7
+ declare global {
8
+ interface Window {
9
+ my_modal_3: any;
10
+ }
11
+ }