0.0.4 • Published 1 year ago

@spiritanandio/vendel-react v0.0.4

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

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>
  );
}