haradakunihiko / react-confirm

Small library which makes your Dialog component callable.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggestion: Provide Screenshot Example/Live Demo

MikeShi42 opened this issue · comments

Hello, just wanted to point out that there's a high hurdle to trying out this lib. Would be at least good to have a screenshot in the readme so I know what kind of confirmation I should be expecting. Even better would be a live demo. There's plenty of places that can host a live demo for you such as https://codesandbox.io/ which would go a long way to convince me that this lib is a good fit for my use case.

Thanks for your proposal!
codesandbox seems grate to show how to use and what can be done with this library.

draft

https://codesandbox.io/embed/5xkqo6zz1x

That's awesome! A screenshot in the readme would be cool too (using gh's online editor, you can just paste in the image in the browser and it'll automatically upload/host the image for you as well)

OK! I will update Readme later with SS.