kk-modality

A responsive confirm modal based on Material Design

Usage no npm install needed!

<script type="module">
  import kkModality from 'https://cdn.skypack.dev/kk-modality';
</script>

README

KK Modality 👋

Version Documentation Maintenance License: MIT

Confirm modals are now simple with both promise and callback support

🏠 Homepage

Install

yarn add kk-modilty

Usage

impot {Modality} from "kk-modality";

const App = () => {
    return (
        <div className="App">
            <Modality hideDrawerAnchor={false} dialogTransitionDuration={200} queueSize={5}/>
            // rest of codes
        </div>
    );
}

export default App;

Author

👤 Hamidreza KK

Show your support

Give a ⭐️ if this project helped you!

📝 License

Copyright © 2020 Hamidreza KK.
This project is MIT licensed.