{"repo":"stripe/react-connect-js","free":true,"listed":false,"github":"https://github.com/stripe/react-connect-js","clone":"git clone https://github.com/stripe/react-connect-js.git","description":"React components for Connect.js and Connect embedded components","language":"TypeScript","stars":39,"topics":["connectjs","react","stripe","stripe-connect"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"@stripe/react-connect-js React Connect.js React components for Connect.js and Connect embedded components This project is a thin React wrapper around Connect embedded components. It allows you to add embedded components to any React app, and manages the state and lifecycle of embedded components for you. Note: Some Connect embedded components are currently still in preview. These can be viewed on our doc site, where you can also request preview access. Components The list of supported components and their required parameters can be found here Minimal example First, install React Connect.js and Connect.js. You have to wrap your components with ConnectComponentsProvider in order to provide the ConnectInstance context to create or update components Example See more examples in the /examples folder The stripeConnect.initalize function returns a ConnectInstance once you initialize it with a publishable key and a client secret returned from the Account Session API call. We’ve placed a placeholder API key in this example. Replace it with your actual publishable API keys to test this code through your Connect account. Contributing If you would like to contribute to React Connect.js, please make sure to read our contributor guidelines. Preview/GA To work with the preview version of embedded components, use the /preview folder. For the stable GA version, use /ga.","default_branch":null,"files":null,"tree":[],"storefront":"/r/stripe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/stripe/react-connect-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}