@spiritanandio/vendel-react
v0.0.4
Published
This is the official React SDK for integrating Vendel checkouts. It provides a simple way to integrate Vendel into your React application.
Downloads
4
Readme
Vendel React SDK
This is the official React SDK for integrating Vendel checkouts. It provides a simple way to integrate Vendel into your React application.
Installation
To install the SDK, run the following command:
npm i @spiritanandio/vendel-react
or
yarn add @spiritanandio/vendel-react
or
pnpm add @spiritanandio/vendel-react Usage
import VendelCheckout from '@spiritanandio/vendel-react';
function Main() {
return (
<App
>
<VendelCheckout productId = {yourProductId} />
<OtherComponents />
</App>
);
}