1.0.4 • Published 2 years ago

jerome-oc-p14-modal v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

to use this librairy you can follow this example

import React, { useState } from 'react';
import {Modal} from "jerome-oc-p14-modal",
import "jerome-oc-p14-modal/dist/style.css";
const Exemple = () => {
    const [modal, setModal] = useState(false);

    const toggleModal = () => {
        setModal(!modal)
    }

    return <Modal isOpen={modal} onClose={toggleModal}> My awesome modal content </Modal>
}
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago