Closed dakom closed 6 years ago
I've changed the title here - instead of a callback, the "close" functionality should be controlled by the higher-order component (any cleanup DraftCanvas
needs to do should be handled in lifecycle).
Similarly, the design and placement of the close button is the responsibility of the calling app, not DraftCanvas
Ah, ok let me remove the close functionality.
The responsibility of rendering vs.
null
should be on the containing app