0.11.6 • Published 2 months ago

@ciceksepeti/cui-dialog v0.11.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

@ciceksepeti/cui-dialog

npm version storybook PRs Welcome license

Inform users about a task and can contain critical information, require decisions. A Dialog is a type of modal window that appears in front of app content to provide critical information or ask for a decision.

Installing

Using Npm:

$ npm install @ciceksepeti/cui-dialog

Using Yarn:

$ yarn add @ciceksepeti/cui-dialog

Example

import React, { useState } from "react";
import Dialog from "@ciceksepeti/cui-dialog";
import '@ciceksepeti/cui-dialog/styles.css";

function Demo() {
  const [open, setOpen] = useState(false);
  return (
    <Dialog open={open}>
      <p>I am a dialog content</p>
      <button onClick={() => setOpen(false)}>Close</button>
    </Dialog>
  );
}
0.11.6

2 months ago

0.11.5

3 months ago

0.11.4

3 months ago

0.11.2

4 months ago

0.11.3

4 months ago

0.11.1

1 year ago

0.11.0

1 year ago

0.10.0

2 years ago

0.9.0

2 years ago

0.8.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.7.0

2 years ago

0.6.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago