A library of React components created using create-react-app
.
Run the following command:
npm install yk-react-modal
import { SimpleModal } from "yk-react-modal";
function Example() {
const [showModal, setShowModal] = useState(false);
return (
<SimpleModal
show={showModal}
message="Employee Created!"
onClose={() => setShowModal(false)}
/>
);
}