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

components should be able to receive custom utils #476

Open
HarisSpahijaPon opened this issue Feb 14, 2020 · 0 comments
Open

components should be able to receive custom utils #476

HarisSpahijaPon opened this issue Feb 14, 2020 · 0 comments

Comments

@HarisSpahijaPon
Copy link
Contributor

Component Name

addressToString.js

Overview / Summary

Sometimes a user wants to pass a custom util function, such as with adressToString. The user might want a different format or change some fields to have the option to make them optional

Rationale for why this component is necessary

It is important to keep the components flexible and help avoid developers to resort to pulling components into their storefront.

Expected use cases

A utils prop like components could be used for this. Perhaps a HOC that allows to pass custom utils? withCustomUtils

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

No branches or pull requests

1 participant