brainhubeu / react-file-input

 ⚛️  A file Input, with drag'n'drop and image editor for React
https://brainhub.eu/
MIT License
77 stars 11 forks source link

Use only image-editor #61

Open oyeanuj opened 4 years ago

oyeanuj commented 4 years ago

Hi folks! Thanks for open-sourcing this library! I was wondering if it is possible to use ImageEditor as a standalone component since I already have my own file upload flow built in?

piotr-s-brainhub commented 4 years ago

Hi @oyeanuj

thanks for asking this question.

Could you provide details because I don't understand you clearly? Would you like the react-file-input to provide a simple image editor? If so, I guess you should open a PR to implement such a feature.

piotr-s-brainhub commented 4 years ago

@oyeanuj

Could you reply?

oyeanuj commented 4 years ago

@piotr-s-brainhub Sorry, I missed this notification. I noticed that one of the export was ImageEditor but it doesn't seem possible to use it without using the file-input component from this library. So I was wondering, if for people who already have a file input built, they could still use the ImageEditor provided by this library?

piotr-s-brainhub commented 4 years ago

@oyeanuj

I don't think it's possible but I can ask my team.

oyeanuj commented 4 years ago

@piotr-s-brainhub Any updates here?

piotr-s-brainhub commented 4 years ago

@oyeanuj

It requires implementing a new feature. You're welcome to open a PR. You can also invite your colleagues to like (👍) so more 👍 it has, it's more likely to be implemented by us.