- integrating sign in with google

- set up dark mode context and other services
This commit is contained in:
Amruth Pillai
2020-07-03 18:59:25 +05:30
parent 336fd22150
commit 3a1d42025f
17 changed files with 405 additions and 115 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const Button = ({ title, isLoading, onClick, outline, className }) => {
<div
tabIndex="0"
role="button"
onClick={onClick}
onClick={isLoading ? undefined : onClick}
className={classes}
onKeyDown={handleKeyDown}
>
+23
View File
@@ -0,0 +1,23 @@
import React, { Fragment } from "react";
import { ToastContainer, Slide } from "react-toastify";
import ModalRegistrar from "../../modals/ModalRegistrar";
const Wrapper = ({ children }) => {
return (
<Fragment>
{children}
<ModalRegistrar />
<ToastContainer
role="alert"
hideProgressBar
transition={Slide}
closeButton={false}
position="bottom-right"
pauseOnFocusLoss={false}
/>
</Fragment>
);
};
export default Wrapper;