Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to hoc #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Upgrade to hoc #2

wants to merge 3 commits into from

Conversation

zulicek
Copy link

@zulicek zulicek commented Aug 10, 2017

Instead of having only button component, user can now use it as a hoc to wrap it's own custom component.

ReactHTMLTabelToExcel now has withReactHTMLTabelToExcel HOC (exported as default) and old component exported as ReactHTMLTableToExcelButton.

zulicek added 3 commits August 9, 2017 15:19
* Kept old button component as a ReactHTMLTableToExcelButton, which can be imported with named import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant