1.0.5 • Published 1 year ago

starklink v1.0.5

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

Intro

A library of react components for Follow or chat on Web3MQ

Feature

  • Follow Button
  • Chat Button

Install

npm i starklink

or

yarn add starklink

Usage

FollowButton

import React from 'react';
import {FollowButton, ChatButton} from 'starklink';

function App() {
    return (
        <div className='app_container'>
            <FollowButton targetWalletAddress='0x63dc40a92a63da67bf635bd3c8288a719a029bde' targetWalletType='eth'/>
        </div>
    );
}

export default App;

ChatButton

import React from 'react';
import {FollowButton, ChatButton} from 'starklink';

function App() {
    return (
        <div className='app_container'>
            <ChatButton targetWalletAddress='0x63dc40a92a63da67bf635bd3c8288a719a029bde' targetWalletType='eth'/>
        </div>
    );
}

export default App;

Api

ChatButton

The properties of the ChatButton are described as follows:

PropertyDescriptionTypeDefaultrequired
targetWalletAddresswallet addressWallet Address-true
targetWalletTypewallet typeWalletType-true

FollowButton

The properties of the FollowButton are described as follows:

PropertyDescriptionTypeDefaultrequired
targetWalletAddresswallet addressWallet Address-true
targetWalletTypewallet typeWalletType-true
1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago