2.0.2 • Published 1 year ago

hrnet-modal-micka-dev v2.0.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Available Scripts

In the project directory, you can run:

Install

npm i hrnet-modal-micka-dev

Props

Props nameProps Descriptiontype
ChildrenContent inside componentJSX Elements
isVisibleProps for display modal type: boolBool
styleProps for styling content modaljs style

Example

import React, { useState } from "react";
import Modal from "hrnet-modal-micka-dev";

export const modal = () => {
  const [isVisible, setIsVisible] = useState(false);

  return (
    <div>
      <Modal style={{ borderRadius: 20 }} isVisible={isVisible}>
        <p className="modal-msg">
          Lorem Ipsum is simply dummy text of the printing{" "}
        </p>
      </Modal>
      <button onClick={setIsVisible(() => !isVisible)} />
    </div>
  );
};

export default modal;
2.0.2

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago