1.0.4 • Published 1 year ago

jerome-oc-p14-modal v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year 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

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago