dilidili / react-drawing-board

demo
https://react-drawing-board-demo.dilidili.now.sh
MIT License
70 stars 21 forks source link

How to enable a normal eraser? #1

Closed bapillai closed 4 years ago

bapillai commented 4 years ago

I want to be able to erase just a small section of my drawing or entry.How do i enable the same?

dilidili commented 4 years ago

@bapillai it does not support now, but i can add it lately.

bapillai commented 4 years ago

@dilidili that would be really helpful.Another question i had was,is there any way to collapse the toolbar or have it vertically aligned on left or right, rather than on the top

bapillai commented 4 years ago

@dilidili is there an ETA on when i can expect the eraser component enabled and checked in?

dilidili commented 4 years ago

p

@dilidili that would be really helpful.Another question i had was,is there any way to collapse the toolbar or have it vertically aligned on left or right, rather than on the top

i would export some props to control the style of drawing board, maybe on today or tomorrow.

dilidili commented 4 years ago

@bapillai version 0.2.0 add Eraser Tool and support className and toolbarPlacement. Check the demo https://react-drawing-board-demo.dilidili.now.sh.

bapillai commented 4 years ago

This works! Thanks a lot for the quick response