- implement work experience

- implement education
- show dynamic names in layout
This commit is contained in:
Amruth Pillai
2020-07-08 16:49:26 +05:30
parent bee6a40e9f
commit 922db70107
33 changed files with 822 additions and 169 deletions

View File

@ -5,6 +5,7 @@ import { isFunction } from "lodash";
import React, { forwardRef, useImperativeHandle } from "react";
import { MdClose } from "react-icons/md";
import Button from "../components/shared/Button";
import { handleKeyDown } from "../utils";
import styles from "./BaseModal.module.css";
const BaseModal = forwardRef(
@ -33,7 +34,12 @@ const BaseModal = forwardRef(
<div className={styles.modal}>
<div className={styles.title}>
<h2>{title}</h2>
<MdClose size="18" onClick={handleClose} />
<MdClose
size="18"
tabIndex="0"
onClick={handleClose}
onKeyDown={(e) => handleKeyDown(e, handleClose)}
/>
</div>
<div className={styles.body}>{children}</div>