react-papaparse icon indicating copy to clipboard operation
react-papaparse copied to clipboard

Expose dropFileRemoveButton styles in style interface

Open seans84 opened this issue 3 years ago • 1 comments

Here: https://github.com/Bunlong/react-papaparse/blob/master/src/CSVReader.tsx#L442 and https://github.com/Bunlong/react-papaparse/blob/master/src/CSVReader.tsx#L456 can you expose the option to pass in dropFileRemoveButton styling from the styles config?

I would like to position the remove button differently, but currently it is impossible to access it.

Something like this I think would work fine:

style={style.dropFileRemoveButton || styles.dropFileRemoveButton}

seans84 avatar Jul 04 '21 18:07 seans84

Also need this feature!

TimJJTing avatar Aug 13 '21 03:08 TimJJTing