react-native-fast-toast
Advanced tools
Comparing version 2.0.0 to 2.1.0
{ | ||
"name": "react-native-fast-toast", | ||
"version": "2.0.0", | ||
"main": "index.ts", | ||
"version": "2.1.0", | ||
"main": "lib/commonjs/index.js", | ||
"module": "lib/module/index.js", | ||
"types": "lib/typescript/src/index.d.ts", | ||
"files": [ | ||
"src", | ||
"lib" | ||
], | ||
"license": "MIT", | ||
@@ -10,6 +16,23 @@ "author": { | ||
}, | ||
"homepage": "https://github.com/arnnis/react-native-fast-toast#readme", | ||
"devDependencies": { | ||
"@react-native-community/bob": "^0.16.2", | ||
"@types/react": "^16.9.49", | ||
"@types/react-native": "^0.63.15" | ||
"@types/react-native": "^0.63.15", | ||
"typescript": "^4.0.3" | ||
}, | ||
"@react-native-community/bob": { | ||
"source": "src", | ||
"output": "lib", | ||
"targets": [ | ||
[ | ||
"commonjs", | ||
{ | ||
"copyFlow": true | ||
} | ||
], | ||
"module", | ||
"typescript" | ||
] | ||
} | ||
} |
import React from "react"; | ||
type Toast = React.RefObject< | ||
import("react-native-fast-toast").default | ||
>["current"]; | ||
type Toast = React.RefObject<import("../toast-container").default>["current"]; | ||
@@ -7,0 +5,0 @@ const ToastContext = React.createContext(null as Toast); |
@@ -1,2 +0,2 @@ | ||
import React, { useContext } from "react"; | ||
import { useContext } from "react"; | ||
import ToastContext from "./context"; | ||
@@ -3,0 +3,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
74873
45
889
0
4
1