Conversation
|
@Netacci u can just create your custom Dojah component, you can copy the code below create a file and paste it within, then import Dojah from the file and use the same way as tou would use the one from "react-dojah" `import React from "react"; export type ResType = "success" | "error" | "close" | "start" | "loading"; declare global { function Dojah(props: DojahResponse) { React.useEffect(() => { const load = () => { const error = () => { const start = () => { const stop = () => { const open = () => { }; Dojah.config = { export default Dojah; |
Updates react dependency to 18.2.0 as dojah is compatible to only 16.0.0