We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!, please!
Add option for icon and icon class, for example,
Thanks
PD: if you want, you add me as a collaborator
The text was updated successfully, but these errors were encountered:
The buttonText property can contain other components. So if you are using Bootstrap (for example), you can do something like this...
buttonText
<ReactHTMLTableToExcel table="table" filename="filename" className="btn btn-default" buttonText={<Glyphicon glyph="download-alt" />} />
Sorry, something went wrong.
@rickdjiii that produces the desired result but throws an error because the expected PropType is a string and that's an object.
PropType
Component should be changed to accept child props if the buttonText prop is not provided.
<ReactHTMLTableToExcel table="table" filename="filename" className="btn btn-default"> <Glyphicon glyph="download-alt" /> Button Text </ReactHTMLTableToExcel>
Just implemented a fix for the error here #9
No branches or pull requests
Hello!, please!
Add option for icon and icon class, for example,
Thanks
PD: if you want, you add me as a collaborator
The text was updated successfully, but these errors were encountered: