We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae70a48 commit 255ae3dCopy full SHA for 255ae3d
src/All Assessment/assessment21/MyToaster.jsx
@@ -1,4 +1,5 @@
1
import React from "react";
2
+import GoToHome from "../../Components/GoToHome"
3
4
const MyToaster = () => {
5
const [toast, setToast] = React.useState([]);
@@ -25,8 +26,9 @@ const MyToaster = () => {
25
26
</div>
27
)}
28
- <h1>Hello React.</h1>
29
- <button onClick={handleClick}>Click Me To Show Toaster</button>
+ <GoToHome/>
30
+ <h1>Toaster By sameerkali</h1>
31
+ <button style={{backgroundColor: '#ccc'}} onClick={handleClick}>Click Me To Show Toaster</button>
32
33
);
34
};
0 commit comments