Skip to content

passportxyz/passport-widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

passport-widgets

Installation

yarn add passport-widgets

Usage

See example.

import React from 'react';
import { PassportScoreWidget } from 'passport-widgets';

const App = () => {
  return (
    {/* ... */}
    <PassportScoreWidget
      apiKey="API_KEY"
      address="0x..."
      scorerId="5"
    />
    {/* ... */}
  );
};

Theme

Accepts a theme prop which can be used to customize the widget's appearance. See PassportWidgetTheme. Colors are in R, G, B format.

Development

# Install dependencies
yarn
cd example
yarn

# Start the development server
yarn dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published