hunkim98 / dotting

Dotting is a pixel art editor component library for react
https://hunkim98.github.io/dotting/
MIT License
43 stars 12 forks source link

(Needs Discussion!) Remove useBrush hook? We could instead add brushMode and brushColor props #17

Closed hunkim98 closed 1 year ago

hunkim98 commented 1 year ago

Currently, users can use useBrush hook to set brush mode or set brush color.

Why don't we just simply create brushMode and brushColor props in DottingProps?

This will allow users not have to use useBrush hook if they simply want to just change brush color or brush mode.

hunkim98 commented 1 year ago

Closing this issue since it was applied to ver1.1.1