Functions
Function: ChordProvider
module react autonomy docid\ zoz6w56ubppacr0po0gls chordprovider ▸ chordprovider ( props , context? ) reactelement < any , any > react context provider for chord services this component is mainly a wrapper for a redux https //redux js org/ store that powers chord's analytics, cart, checkout, subscription and user models import chordprovider from '@chordcommerce/react autonomy' import { stytchclient } from '@chordcommerce/chord stytch' import { stytchprovider } from '@stytch/nextjs' const app = ({ children }) => { const authclient = new stytchclient({ apikey process env stytch api key, }) return ( \<chordprovider config={{ domain process env chord oms domain, brandname process env chord oms brand name, storeid process env chord oms store id, omsid process env chord oms id, tenantid process env chord oms tenant id, storeslug process env chord oms store slug, producturlformatter (product) => { return product url || `https //example com/${product variant? slug}` } }} authclient={authclient} \> \<stytchprovider stytch={authclient getserviceclient()}> {children} \</stytchprovider> \</chordprovider> ) } parameters name type props propswithchildren < propswithchildren < interface chordproviderprops docid\ fvyfilkytcwhfpj 4yxst >> context? any returns reactelement < any , any > defined in node modules/@types/react/index d ts 543