leappay-react-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

LeapPay SDK (React & TypeScript)

Dependencies

  • Node.js: v20.14.0

Ensure you have the specified version of Node.js installed to avoid compatibility issues.

Installation

To install the LeapPay SDK, run the following command:

npm install leappay_sdk

Commands

Run these commands using npm run <command_name>:

Create Build

  • build: Creates a production build of the library.

Development

  • dev: Starts the development mode for the library.
  • serve: Serves the created build on a specified port.
  • start: Concurrently watches for changes, builds the library, and serves the build.

Formatting

  • lint:fix: Fixes all ESLint errors.
  • prettier: Fixes all Prettier formatting issues.

Example Usage

Here is a basic example of how to use the ConnectLeapPayForm component from the LeapPay SDK in your React application:

import React from 'react';
import { ConnectLeapPayForm } from 'leappay_sdk';

function App() {
  return (
    <div>
      <h1>Welcome to LeapPay</h1>
      <ConnectLeapPayForm />
    </div>
  );
}

export default App;

License

This project is licensed under the MIT License.

Readme

Keywords

none

Package Sidebar

Install

npm i leappay-react-sdk

Weekly Downloads

4

Version

1.0.0

License

ISC

Unpacked Size

9.65 kB

Total Files

13

Last publish

Collaborators

  • daniil.lyalko