mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
- integrating sign in with google
- set up dark mode context and other services
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user