Skip to content

paytweed/Tweed-SDKv2-React-example

Repository files navigation

React 18 + Tweed SDK Example

Welcome to the React + Tweed SDK example project! This repository demonstrates a straightforward implementation of the Tweed SDK with React.

Project setup

To get started, follow these simple steps:

1. Update Application ID

go to src/App.tsx and change the applecaion-id to your own

// src/App.tsx

<TweedProvider applicationId="YOUR-APP-ID"  options="clientOptions" >
     <DemoPage />
  </TweedProvider>

2. Install Dependencies

Run the following command in your terminal to install project dependencies using Yarn or npm.

Using npm:

npm install

Using Yarn:

yarn install

3. Start Development Server

Launch the development server with the following command:

npm run dev

or

yarn dev

Feel free to explore the code in the src directory and customize it according to your project requirements.

Happy coding! 🚀

About

Example of Tweed React SDK

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published