Add localization to 'Buy now' button as prop
Hello,
Thanks for your great work, it's been really useful.
Would it be a possibility to extend the functionality of the ProductCard, so it accepts the text to display in the 'Buy now' button as prop? Right now I'm editing the source code in the bundle and it's not that easy as passing a prop.
Thanks again for the awesome work!
Thank you for your kind words. Would you like to submit a PR, or would you rather have me do it instead? I can do it tomorrow and update the package then.
Thank you for the quick response. I think it would be quicker/easier if you add the prop. I can submit a PR if you wish, but it would take a couple of days.
Thanks!
Ok, I added a new buttonText prop for that card and published the new version on npm. Update to 1.5.2 and let me know if that fixes your problem.