0.3.2 • Published 2 months ago

@salable/react-library v0.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@salable/react-library

Introduction

The @salable/react-library is an essential part of the Salable Component Library, tailored for React applications to incorporate payment and licensing functionalities with ease. Built on top of Stencil JS, this library provides React components designed for seamless integration in SaaS products and various web applications, ensuring compatibility, performance, and scalability.

Key Features

  • React Components: Our library offers React components that wrap Stencil JS web components, combining the robustness of web standards with the ease of use in the React ecosystem.
  • Seamless Integration: With minimal setup, you can integrate our components into your project, enhancing your application with payment and licensing capabilities.
  • Customizable and Scalable: Designed to meet the demands of any scale, from small projects to complex applications, ensuring that your needs for customization and scalability are met.
  • Cross-Browser Compatibility: Thanks to Stencil JS, enjoy consistent performance and appearance across all modern browsers.

Installation

To add the Salable React Library to your project, execute the following command:

npm i @salable/react-library

Getting Started

Once installed, you need to import and define custom elements in your React project. Here's how to get started:

import { defineCustomElements } from '@salable/react-library';
import { SalablePricingTable } from "@salable/react-library";

defineCustomElements();

export default function SalablePricingTableDemo() {
    return (
        <SalablePricingTable
            apiKey="your_api_key"
            uuid="your_uuid"
            globalSuccessUrl="https://example.com/success"
            globalCancelUrl="https://example.com/cancel"
            globalGranteeId="your_grantee_id"
            member="your_member_id"
        />
    );
}

Replace "your_api_key", "your_uuid", "your_grantee_id", and "your_member_id" with your actual configuration values.

This example demonstrates how to use the SalablePricingTable component, but our library includes more components that you can utilize in your projects.

Documentation

For a full list of components and detailed guides on using them, please refer to our core documentation. You'll find examples, configuration options, and best practices to help you integrate our library into your applications effectively.

Support and Contributions

Encountering issues or have suggestions? Please submit them on our GitHub issues page

0.3.0

2 months ago

0.3.2

2 months ago

0.3.1

2 months ago

0.2.1

2 months ago

0.2.0

2 months ago

0.1.50

2 months ago

0.1.51

2 months ago

0.1.49

2 months ago

0.1.48

2 months ago

0.1.47

2 months ago

0.1.45

2 months ago

0.1.46

2 months ago

0.1.44

3 months ago

0.1.43

3 months ago

0.1.41

3 months ago

0.1.42

3 months ago

0.1.40

3 months ago

0.1.38

3 months ago

0.1.39

3 months ago

0.1.37

3 months ago

0.1.34

3 months ago

0.1.35

3 months ago

0.1.36

3 months ago

0.1.33

3 months ago

0.1.30

3 months ago

0.1.31

3 months ago

0.1.32

3 months ago

0.1.27

3 months ago

0.1.28

3 months ago

0.1.29

3 months ago

0.1.26

3 months ago

0.1.25

3 months ago

0.1.24

3 months ago

0.1.23

3 months ago

0.1.20

3 months ago

0.1.21

3 months ago

0.1.22

3 months ago

0.1.18

3 months ago

0.1.19

3 months ago

0.1.12

4 months ago

0.1.13

4 months ago

0.1.14

4 months ago

0.1.15

4 months ago

0.1.16

4 months ago

0.1.17

4 months ago

0.1.10

4 months ago

0.1.11

4 months ago

0.1.8

4 months ago

0.1.7

4 months ago

0.1.9

4 months ago

0.1.6

4 months ago

0.1.5

4 months ago

0.1.2

5 months ago

0.1.1

5 months ago

0.1.4

5 months ago

0.1.3

5 months ago

0.1.0

5 months ago

0.0.37

6 months ago

0.0.36

6 months ago

0.0.35

6 months ago

0.0.34

6 months ago

0.0.33

6 months ago

0.0.32

6 months ago

0.0.4

6 months ago

0.0.2

6 months ago