You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: