use-react-screenshot
use-react-screenshot copied to clipboard
Expose clear image
It would be useful to expose a function to allow clearing the image.
Something like so:
const resetImage = () => setImage(null)