@symply.io/basic-components 1.0.0-alpha.14 → 1.0.0-alpha.15
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/ToastPrompt/index.d.ts +2 -0
- package/ToastPrompt/index.js +1 -0
- package/package.json +5 -1
package/ToastPrompt/index.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import { ReactNode } from "react";
|
2
|
+
import ToastPrompt from "./Presentation";
|
2
3
|
export interface PromptProviderProps {
|
3
4
|
children: ReactNode;
|
4
5
|
}
|
@@ -11,3 +12,4 @@ export declare const PromptProvider: (props: PromptProviderProps) => JSX.Element
|
|
11
12
|
export declare function usePrompt(): {
|
12
13
|
showPrompt: (props: ShowPromptProps) => void;
|
13
14
|
};
|
15
|
+
export default ToastPrompt;
|
package/ToastPrompt/index.js
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@symply.io/basic-components",
|
3
|
-
"version": "1.0.0-alpha.
|
3
|
+
"version": "1.0.0-alpha.15",
|
4
4
|
"description": "Basic and reusable components for all frontend of Symply apps",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -59,6 +59,10 @@
|
|
59
59
|
"react-player": "^2.9.0",
|
60
60
|
"rifm": "^0.12.1"
|
61
61
|
},
|
62
|
+
"resolutions": {
|
63
|
+
"@types/react": "17.0.27",
|
64
|
+
"@types/react-dom": "17.0.9"
|
65
|
+
},
|
62
66
|
"scripts": {
|
63
67
|
"build": "./node_modules/.bin/tsc"
|
64
68
|
},
|